[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-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/johnolos/spotify-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/johnolos/spotify-cli" "work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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#452087b4bf18cece2d52d7cd8c9147195e5404bf [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of johnolos/spotify-cli on toolchain try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-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-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/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-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking johnolos/spotify-cli against try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab for pr-63247 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63247/worker-7/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] fa8c5d7e84a2e505607aae0090619608bb0e6b7a91fb8dce8f4a54bb065474d1 [INFO] running `"docker" "start" "-a" "fa8c5d7e84a2e505607aae0090619608bb0e6b7a91fb8dce8f4a54bb065474d1"` [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling openssl-sys v0.9.30 [INFO] [stderr] Checking uuid v0.6.3 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Compiling openssl v0.9.24 [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 native-tls v0.1.5 [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[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: Could not compile `spotify-cli`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "fa8c5d7e84a2e505607aae0090619608bb0e6b7a91fb8dce8f4a54bb065474d1"` [INFO] running `"docker" "rm" "-f" "fa8c5d7e84a2e505607aae0090619608bb0e6b7a91fb8dce8f4a54bb065474d1"` [INFO] [stdout] fa8c5d7e84a2e505607aae0090619608bb0e6b7a91fb8dce8f4a54bb065474d1