[INFO] updating cached repository bholt/scarlet
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/bholt/scarlet
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/bholt/scarlet" "work/ex/beta-1.37-6/sources/1.36.0/gh/bholt/scarlet"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/bholt/scarlet'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/bholt/scarlet" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bholt/scarlet"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bholt/scarlet'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 52266255bc99d2185fd17282c27b93e3f21cd6bd
[INFO] sha for GitHub repo bholt/scarlet: 52266255bc99d2185fd17282c27b93e3f21cd6bd
[INFO] validating manifest of bholt/scarlet on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of bholt/scarlet on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing bholt/scarlet
[INFO] finished frobbing bholt/scarlet
[INFO] frobbed toml for bholt/scarlet written to work/ex/beta-1.37-6/sources/1.36.0/gh/bholt/scarlet/Cargo.toml
[INFO] started frobbing bholt/scarlet
[INFO] finished frobbing bholt/scarlet
[INFO] frobbed toml for bholt/scarlet written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bholt/scarlet/Cargo.toml
[INFO] crate bholt/scarlet already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/bholt/scarlet/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/mitsuhiko/redis-rs.git`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/mitsuhiko/redis-rs.git`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing bholt/scarlet against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bholt/scarlet:/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-07-23" "build" "--frozen"`
[INFO] [stdout] 580650b56fc098f2203b5ad7f2b4bcc73e38c4eb958a35b374143932a04e7c89
[INFO] running `"docker" "start" "-a" "580650b56fc098f2203b5ad7f2b4bcc73e38c4eb958a35b374143932a04e7c89"`
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling futures v0.1.28
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling ascii v0.9.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling tokio-sync v0.1.6
[INFO] [stderr]    Compiling tokio-executor v0.1.8
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling redis v0.11.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#6fc9632b)
[INFO] [stderr]    Compiling scarlet v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference
[INFO] [stderr]   --> src/main.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 9  | fn check(c: &Connection) -> RedisResult<isize> {
[INFO] [stderr]    |             ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection`
[INFO] [stderr] 10 |     try!(c.set("foo", 42));
[INFO] [stderr]    |          ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stderr] 
[INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 9  | fn check(c: &Connection) -> RedisResult<isize> {
[INFO] [stderr]    |             ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection`
[INFO] [stderr] 10 |     try!(c.set("foo", 42));
[INFO] [stderr] 11 |     c.get("foo") as RedisResult<isize>
[INFO] [stderr]    |     ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stderr] 
[INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference
[INFO] [stderr]   --> src/main.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     fn set(&self, c: &Connection) -> RedisResult<()> {
[INFO] [stderr]    |                      ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection`
[INFO] [stderr] 52 |         c.hset_multiple(Self::key(self.id), argmap!(
[INFO] [stderr]    |         ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stderr] 
[INFO] [stderr] error[E0596]: cannot borrow `c` as mutable, as it is not declared as mutable
[INFO] [stderr]   --> src/main.rs:78:27
[INFO] [stderr]    |
[INFO] [stderr] 65 |     let c = client.get_connection().unwrap();
[INFO] [stderr]    |         - help: consider changing this to be mutable: `mut c`
[INFO] [stderr] ...
[INFO] [stderr] 78 |     let r : Vec<String> = c.hget(User::key(u.id), &["username","first","last"]).unwrap();
[INFO] [stderr]    |                           ^ cannot borrow as mutable
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0596`.
[INFO] [stderr] error: Could not compile `scarlet`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "580650b56fc098f2203b5ad7f2b4bcc73e38c4eb958a35b374143932a04e7c89"`
[INFO] running `"docker" "rm" "-f" "580650b56fc098f2203b5ad7f2b4bcc73e38c4eb958a35b374143932a04e7c89"`
[INFO] [stdout] 580650b56fc098f2203b5ad7f2b4bcc73e38c4eb958a35b374143932a04e7c89
