[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/beta-1.38-1/sources/1.37.0/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/johnolos/spotify-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/johnolos/spotify-cli" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/johnolos/spotify-cli"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of johnolos/spotify-cli on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing johnolos/spotify-cli against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 894f3bb18f7c2cdbc3e54ce051e7e8f4268cb45ae7ee1075ba999e0348b6d3c8 [INFO] running `"docker" "start" "-a" "894f3bb18f7c2cdbc3e54ce051e7e8f4268cb45ae7ee1075ba999e0348b6d3c8"` [INFO] [stderr] Compiling open v1.2.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling uuid v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.5.2 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling hyper-tls v0.1.3 [INFO] [stderr] Compiling reqwest v0.8.5 [INFO] [stderr] Compiling 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: build failed [INFO] running `"docker" "inspect" "894f3bb18f7c2cdbc3e54ce051e7e8f4268cb45ae7ee1075ba999e0348b6d3c8"` [INFO] running `"docker" "rm" "-f" "894f3bb18f7c2cdbc3e54ce051e7e8f4268cb45ae7ee1075ba999e0348b6d3c8"` [INFO] [stdout] 894f3bb18f7c2cdbc3e54ce051e7e8f4268cb45ae7ee1075ba999e0348b6d3c8