[INFO] updating cached repository https://github.com/fakeshadow/psn_api_rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/fakeshadow/psn_api_rs [INFO] [stderr] 544cd98..6f1bd4b std-future -> std-future [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ece6e8b4881d01aef25298206749017ff3c26664 [INFO] testing fakeshadow/psn_api_rs against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffakeshadow%2Fpsn_api_rs" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fakeshadow/psn_api_rs 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 git repo https://github.com/fakeshadow/psn_api_rs [INFO] finished tweaking git repo https://github.com/fakeshadow/psn_api_rs [INFO] tweaked toml for git repo https://github.com/fakeshadow/psn_api_rs written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/fakeshadow/psn_api_rs already has a lockfile, it will not be regenerated [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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] 3a618ce6617b361cb95734a6bd1b9f10f4582d4b1c69b9477134a50651c613ca [INFO] running `"docker" "start" "-a" "3a618ce6617b361cb95734a6bd1b9f10f4582d4b1c69b9477134a50651c613ca"` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling psn_api_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `derive_more::Display` [INFO] [stderr] --> src/lib.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | use derive_more::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Either`, `ok` [INFO] [stderr] --> src/lib.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | future::{ok, Either}, [INFO] [stderr] | ^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.23s [INFO] running `"docker" "inspect" "3a618ce6617b361cb95734a6bd1b9f10f4582d4b1c69b9477134a50651c613ca"` [INFO] running `"docker" "rm" "-f" "3a618ce6617b361cb95734a6bd1b9f10f4582d4b1c69b9477134a50651c613ca"` [INFO] [stdout] 3a618ce6617b361cb95734a6bd1b9f10f4582d4b1c69b9477134a50651c613ca [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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] 2a6a0bc7c0ce4b137c746e3cfaba7e6e96ba59fe488be777efc585f0b4c8732f [INFO] running `"docker" "start" "-a" "2a6a0bc7c0ce4b137c746e3cfaba7e6e96ba59fe488be777efc585f0b4c8732f"` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling psn_api_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `derive_more::Display` [INFO] [stderr] --> src/lib.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | use derive_more::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Either`, `ok` [INFO] [stderr] --> src/lib.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | future::{ok, Either}, [INFO] [stderr] | ^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.60s [INFO] running `"docker" "inspect" "2a6a0bc7c0ce4b137c746e3cfaba7e6e96ba59fe488be777efc585f0b4c8732f"` [INFO] running `"docker" "rm" "-f" "2a6a0bc7c0ce4b137c746e3cfaba7e6e96ba59fe488be777efc585f0b4c8732f"` [INFO] [stdout] 2a6a0bc7c0ce4b137c746e3cfaba7e6e96ba59fe488be777efc585f0b4c8732f [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/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] 3a659f2b04b522f77d1648c34c9db93bef4e63f9a0b3481c855a30b95307be86 [INFO] running `"docker" "start" "-a" "3a659f2b04b522f77d1648c34c9db93bef4e63f9a0b3481c855a30b95307be86"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/psn_api_rs-17043284bfdf4a26 [INFO] [stderr] Doc-tests psn_api_rs [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - PSNRequest::get_titles (line 773) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::generate_message_thread (line 816) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::get_profile (line 762) ... FAILED [INFO] [stdout] test src/lib.rs - PSNRequest::get_trophy_set (line 784) ... FAILED [INFO] [stdout] test src/lib.rs - EncodeUrl (line 1053) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - urls::GRANT_CODE_ENTRY (line 75) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - PSNRequest::get_titles (line 773) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:774: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::generate_message_thread (line 816) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:817: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 - PSNRequest::get_profile (line 762) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:763: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_trophy_set (line 784) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PSN` [INFO] [stdout] --> src/lib.rs:785: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 - EncodeUrl (line 1053) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_urlencoded` [INFO] [stdout] --> src/lib.rs:1055: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:1056: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 75) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `DUID` in this scope [INFO] [stdout] --> src/lib.rs:76: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:76: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:76: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 1053) [INFO] [stdout] src/lib.rs - PSNRequest::generate_message_thread (line 816) [INFO] [stdout] src/lib.rs - PSNRequest::get_profile (line 762) [INFO] [stdout] src/lib.rs - PSNRequest::get_titles (line 773) [INFO] [stdout] src/lib.rs - PSNRequest::get_trophy_set (line 784) [INFO] [stdout] src/lib.rs - urls::GRANT_CODE_ENTRY (line 75) [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" "3a659f2b04b522f77d1648c34c9db93bef4e63f9a0b3481c855a30b95307be86"` [INFO] running `"docker" "rm" "-f" "3a659f2b04b522f77d1648c34c9db93bef4e63f9a0b3481c855a30b95307be86"` [INFO] [stdout] 3a659f2b04b522f77d1648c34c9db93bef4e63f9a0b3481c855a30b95307be86