[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 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 78d044288fa437d53c3743ba23ff22b85bae66c0d781781ca5bfd7a4cef15005 [INFO] running `"docker" "start" "-a" "78d044288fa437d53c3743ba23ff22b85bae66c0d781781ca5bfd7a4cef15005"` [INFO] [stderr] Compiling open v1.2.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling serde_json v1.0.17 [INFO] [stderr] Compiling crossbeam-epoch v0.4.1 [INFO] [stderr] Compiling uuid v0.6.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Compiling serde_urlencoded v0.5.2 [INFO] [stderr] Compiling bytes v0.4.7 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.3 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.55 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-tls v0.1.4 [INFO] [stderr] Compiling hyper v0.11.27 [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "78d044288fa437d53c3743ba23ff22b85bae66c0d781781ca5bfd7a4cef15005"` [INFO] running `"docker" "rm" "-f" "78d044288fa437d53c3743ba23ff22b85bae66c0d781781ca5bfd7a4cef15005"` [INFO] [stdout] 78d044288fa437d53c3743ba23ff22b85bae66c0d781781ca5bfd7a4cef15005