[INFO] crate psn_api_rs 0.1.1 is already in cache [INFO] testing psn_api_rs-0.1.1 against 1.38.0 for beta-1.39-1 [INFO] extracting crate psn_api_rs 0.1.1 into work/builds/worker-6/source [INFO] validating manifest of crates.io crate psn_api_rs 0.1.1 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate psn_api_rs 0.1.1 [INFO] finished tweaking crates.io crate psn_api_rs 0.1.1 [INFO] tweaked toml for crates.io crate psn_api_rs 0.1.1 written to work/builds/worker-6/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 27a602200dc7819796c564350f99f166e59d3ce00e005de3d430962329cef961 [INFO] running `"docker" "start" "-a" "27a602200dc7819796c564350f99f166e59d3ce00e005de3d430962329cef961"` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling psn_api_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Either`, `ok` [INFO] [stderr] --> src/lib.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | future::{ok, Either}, [INFO] [stderr] | ^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `derive_more::Display` [INFO] [stderr] --> src/lib.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | use derive_more::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.01s [INFO] running `"docker" "inspect" "27a602200dc7819796c564350f99f166e59d3ce00e005de3d430962329cef961"` [INFO] running `"docker" "rm" "-f" "27a602200dc7819796c564350f99f166e59d3ce00e005de3d430962329cef961"` [INFO] [stdout] 27a602200dc7819796c564350f99f166e59d3ce00e005de3d430962329cef961 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] cdf0c401c2777a370029ebcdcca11c9c00e9c01a7693e1f63c569f8994a00e88 [INFO] running `"docker" "start" "-a" "cdf0c401c2777a370029ebcdcca11c9c00e9c01a7693e1f63c569f8994a00e88"` [INFO] [stderr] Compiling psn_api_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Either`, `ok` [INFO] [stderr] --> src/lib.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | future::{ok, Either}, [INFO] [stderr] | ^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `derive_more::Display` [INFO] [stderr] --> src/lib.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | use derive_more::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `"docker" "inspect" "cdf0c401c2777a370029ebcdcca11c9c00e9c01a7693e1f63c569f8994a00e88"` [INFO] running `"docker" "rm" "-f" "cdf0c401c2777a370029ebcdcca11c9c00e9c01a7693e1f63c569f8994a00e88"` [INFO] [stdout] cdf0c401c2777a370029ebcdcca11c9c00e9c01a7693e1f63c569f8994a00e88 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] 65fb35025877312e03284f8983eff2ab213e24471c0d46221436a1d4c832b959 [INFO] running `"docker" "start" "-a" "65fb35025877312e03284f8983eff2ab213e24471c0d46221436a1d4c832b959"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/psn_api_rs-7ea4bd35a8d9f071 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests psn_api_rs [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - PSNRequest::get_profile (line 755) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::get_titles (line 766) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::get_trophy_set (line 777) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::generate_message_thread (line 809) ... FAILED [INFO] [stdout] test src/lib.rs - EncodeUrl (line 1046) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - urls::GRANT_CODE_ENTRY (line 76) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - PSNRequest::get_profile (line 755) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 3 | PSN::new().add_online_id(String::from("123")).get_rofile() [INFO] [stdout] | ^^^ use of undeclared type or module `PSN` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PSNRequest::get_titles (line 766) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:767:1 [INFO] [stdout] | [INFO] [stdout] 3 | PSN::new().add_online_id(String::from("123")).get_titles(0) [INFO] [stdout] | ^^^ use of undeclared type or module `PSN` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PSNRequest::get_trophy_set (line 777) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:778:1 [INFO] [stdout] | [INFO] [stdout] 3 | PSN::new().add_online_id(String::from("123")).add_np_communication_id(String::from("NPWR00233")).get_trophy_set() [INFO] [stdout] | ^^^ use of undeclared type or module `PSN` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PSNRequest::generate_message_thread (line 809) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:810:1 [INFO] [stdout] | [INFO] [stdout] 3 | PSN::new().set_self_online_id(String::from("NPWR00233")).add_online_id(String::from("123")).generate_message_thread() [INFO] [stdout] | ^^^ use of undeclared type or module `PSN` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EncodeUrl (line 1046) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_urlencoded` [INFO] [stdout] --> src/lib.rs:1048:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `serde_urlencoded` external crate [INFO] [stdout] [INFO] [stdout] error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined [INFO] [stdout] --> src/lib.rs:1049:1 [INFO] [stdout] | [INFO] [stdout] 6 | / impl PSN { [INFO] [stdout] 7 | | fn url_query_string(&self) -> String { [INFO] [stdout] 8 | | serde_urlencoded::to_string(&self.np_sso_url_encode()).unwrap() [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ impl for type defined outside of crate. [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0116, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0116`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0599]: no method named `auth` found for type `psn_api_rs::PSN` in the current scope [INFO] [stdout] --> src/lib.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 25 | .auth() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_profile` found for type `&mut psn_api_rs::PSN` in the current scope [INFO] [stdout] --> src/lib.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 34 | psn.add_online_id("Hakoom".to_owned()).get_profile() // <- use the psn struct to call for user_profile. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - urls::GRANT_CODE_ENTRY (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `DUID` in this scope [INFO] [stdout] --> src/lib.rs:77:149 [INFO] [stdout] | [INFO] [stdout] 3 | format!("https://auth.api.sonyentertainmentnetwork.com/2.0/oauth/authorize?duid={}&app_context=inapp_ios&client_id={}&scope={}&response_type=code", DUID, CLIENT_ID, SCOPE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT_ID` in this scope [INFO] [stdout] --> src/lib.rs:77:155 [INFO] [stdout] | [INFO] [stdout] 3 | format!("https://auth.api.sonyentertainmentnetwork.com/2.0/oauth/authorize?duid={}&app_context=inapp_ios&client_id={}&scope={}&response_type=code", DUID, CLIENT_ID, SCOPE); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCOPE` in this scope [INFO] [stdout] --> src/lib.rs:77:166 [INFO] [stdout] | [INFO] [stdout] 3 | format!("https://auth.api.sonyentertainmentnetwork.com/2.0/oauth/authorize?duid={}&app_context=inapp_ios&client_id={}&scope={}&response_type=code", DUID, CLIENT_ID, SCOPE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - EncodeUrl (line 1046) [INFO] [stdout] src/lib.rs - PSNRequest::generate_message_thread (line 809) [INFO] [stdout] src/lib.rs - PSNRequest::get_profile (line 755) [INFO] [stdout] src/lib.rs - PSNRequest::get_titles (line 766) [INFO] [stdout] src/lib.rs - PSNRequest::get_trophy_set (line 777) [INFO] [stdout] src/lib.rs - urls::GRANT_CODE_ENTRY (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "65fb35025877312e03284f8983eff2ab213e24471c0d46221436a1d4c832b959"` [INFO] running `"docker" "rm" "-f" "65fb35025877312e03284f8983eff2ab213e24471c0d46221436a1d4c832b959"` [INFO] [stdout] 65fb35025877312e03284f8983eff2ab213e24471c0d46221436a1d4c832b959