[INFO] updating cached repository johnolos/spotify-cli [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/johnolos/spotify-cli [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/johnolos/spotify-cli" "work/ex/pr-62181/sources/master#6ea4036cd20a4b1ab1d56e555108c21735ff6946/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-62181/sources/master#6ea4036cd20a4b1ab1d56e555108c21735ff6946/gh/johnolos/spotify-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/johnolos/spotify-cli" "work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/gh/johnolos/spotify-cli'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a28997a1e2d57d76b183dcaa823f90093cb2093e [INFO] sha for GitHub repo johnolos/spotify-cli: a28997a1e2d57d76b183dcaa823f90093cb2093e [INFO] validating manifest of johnolos/spotify-cli on toolchain master#6ea4036cd20a4b1ab1d56e555108c21735ff6946 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+6ea4036cd20a4b1ab1d56e555108c21735ff6946-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of johnolos/spotify-cli on toolchain try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing johnolos/spotify-cli [INFO] finished frobbing johnolos/spotify-cli [INFO] frobbed toml for johnolos/spotify-cli written to work/ex/pr-62181/sources/master#6ea4036cd20a4b1ab1d56e555108c21735ff6946/gh/johnolos/spotify-cli/Cargo.toml [INFO] started frobbing johnolos/spotify-cli [INFO] finished frobbing johnolos/spotify-cli [INFO] frobbed toml for johnolos/spotify-cli written to work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/gh/johnolos/spotify-cli/Cargo.toml [INFO] crate johnolos/spotify-cli already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+6ea4036cd20a4b1ab1d56e555108c21735ff6946-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking johnolos/spotify-cli against try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc for pr-62181 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62181/worker-7/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/gh/johnolos/spotify-cli:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 938537c061b164bb5703ef6c3d7fdc5e1db9b956cfdeb5201c0d862d01c715aa [INFO] running `"docker" "start" "-a" "938537c061b164bb5703ef6c3d7fdc5e1db9b956cfdeb5201c0d862d01c715aa"` [INFO] [stderr] Checking open v1.2.1 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking uuid v0.6.3 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio v0.1.6 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking reqwest v0.8.5 [INFO] [stderr] Checking spotify-cli v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0507]: cannot move out of `*self.authorize` which is behind a shared reference [INFO] [stderr] --> src/player/player.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | let mut response: Response = self.authorize.get_request(url, credentials, None)?; [INFO] [stderr] | ^^^^^^^^^^^^^^ move occurs because `*self.authorize` has type `core::common::Authorize`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of dereference of `std::sync::RwLockWriteGuard<'_, std::option::Option>` [INFO] [stderr] --> src/core/common.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | mem::replace(&mut self.token.write().unwrap().unwrap(), new_token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | move occurs because value has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stderr] | help: consider borrowing the `Option`'s content: `self.token.write().unwrap().as_ref()` [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `self` [INFO] [stderr] --> src/core/common.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 129 | fn construct_headers(self, credentials: &Credentials) -> Result { [INFO] [stderr] | ---- move occurs because `self` has type `core::common::Authorize`, which does not implement the `Copy` trait [INFO] [stderr] 130 | self.update_token(&credentials); [INFO] [stderr] | ---- value moved here [INFO] [stderr] 131 | [INFO] [stderr] 132 | let token = self.token.read().unwrap().unwrap().access_token; [INFO] [stderr] | ^^^^^^^^^^ value borrowed here after move [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of dereference of `std::sync::RwLockReadGuard<'_, std::option::Option>` [INFO] [stderr] --> src/core/common.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | let token = self.token.read().unwrap().unwrap().access_token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | move occurs because value has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stderr] | help: consider borrowing the `Option`'s content: `self.token.read().unwrap().as_ref()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0382, E0507. [INFO] [stderr] For more information about an error, try `rustc --explain E0382`. [INFO] [stderr] error: Could not compile `spotify-cli`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0507]: cannot move out of `*self.authorize` which is behind a shared reference [INFO] [stderr] --> src/player/player.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | let mut response: Response = self.authorize.get_request(url, credentials, None)?; [INFO] [stderr] | ^^^^^^^^^^^^^^ move occurs because `*self.authorize` has type `core::common::Authorize`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of dereference of `std::sync::RwLockWriteGuard<'_, std::option::Option>` [INFO] [stderr] --> src/core/common.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | mem::replace(&mut self.token.write().unwrap().unwrap(), new_token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | move occurs because value has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stderr] | help: consider borrowing the `Option`'s content: `self.token.write().unwrap().as_ref()` [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `self` [INFO] [stderr] --> src/core/common.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 129 | fn construct_headers(self, credentials: &Credentials) -> Result { [INFO] [stderr] | ---- move occurs because `self` has type `core::common::Authorize`, which does not implement the `Copy` trait [INFO] [stderr] 130 | self.update_token(&credentials); [INFO] [stderr] | ---- value moved here [INFO] [stderr] 131 | [INFO] [stderr] 132 | let token = self.token.read().unwrap().unwrap().access_token; [INFO] [stderr] | ^^^^^^^^^^ value borrowed here after move [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of dereference of `std::sync::RwLockReadGuard<'_, std::option::Option>` [INFO] [stderr] --> src/core/common.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | let token = self.token.read().unwrap().unwrap().access_token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | move occurs because value has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stderr] | help: consider borrowing the `Option`'s content: `self.token.read().unwrap().as_ref()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0382, E0507. [INFO] [stderr] For more information about an error, try `rustc --explain E0382`. [INFO] [stderr] error: Could not compile `spotify-cli`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "938537c061b164bb5703ef6c3d7fdc5e1db9b956cfdeb5201c0d862d01c715aa"` [INFO] running `"docker" "rm" "-f" "938537c061b164bb5703ef6c3d7fdc5e1db9b956cfdeb5201c0d862d01c715aa"` [INFO] [stdout] 938537c061b164bb5703ef6c3d7fdc5e1db9b956cfdeb5201c0d862d01c715aa