[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-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/johnolos/spotify-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/johnolos/spotify-cli" "work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/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#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of johnolos/spotify-cli on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-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-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/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-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/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" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking johnolos/spotify-cli against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-3/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/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" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8b015615d17c38e2079ebe55da7825afc59f2c82f12cac0da8d4bed94cf010c2 [INFO] running `"docker" "start" "-a" "8b015615d17c38e2079ebe55da7825afc59f2c82f12cac0da8d4bed94cf010c2"` [INFO] [stderr] Checking open v1.2.1 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking bytes v0.4.7 [INFO] [stderr] Checking uuid v0.6.3 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking regex v1.0.0 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking 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-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp 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" "8b015615d17c38e2079ebe55da7825afc59f2c82f12cac0da8d4bed94cf010c2"` [INFO] running `"docker" "rm" "-f" "8b015615d17c38e2079ebe55da7825afc59f2c82f12cac0da8d4bed94cf010c2"` [INFO] [stdout] 8b015615d17c38e2079ebe55da7825afc59f2c82f12cac0da8d4bed94cf010c2