[INFO] updating cached repository badboy/redis-zrangescore-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/badboy/redis-zrangescore-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/badboy/redis-zrangescore-example" "work/ex/beta-1.38-1/sources/1.37.0/gh/badboy/redis-zrangescore-example"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/badboy/redis-zrangescore-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/badboy/redis-zrangescore-example" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/badboy/redis-zrangescore-example"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/badboy/redis-zrangescore-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] abad98290532d88cda71b3da3057757ca31551f4 [INFO] sha for GitHub repo badboy/redis-zrangescore-example: abad98290532d88cda71b3da3057757ca31551f4 [INFO] validating manifest of badboy/redis-zrangescore-example 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 badboy/redis-zrangescore-example 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 badboy/redis-zrangescore-example [INFO] finished frobbing badboy/redis-zrangescore-example [INFO] frobbed toml for badboy/redis-zrangescore-example written to work/ex/beta-1.38-1/sources/1.37.0/gh/badboy/redis-zrangescore-example/Cargo.toml [INFO] started frobbing badboy/redis-zrangescore-example [INFO] finished frobbing badboy/redis-zrangescore-example [INFO] frobbed toml for badboy/redis-zrangescore-example written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/badboy/redis-zrangescore-example/Cargo.toml [INFO] crate badboy/redis-zrangescore-example 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] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/badboy/redis-zrangescore-example/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.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs/` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs/` [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 badboy/redis-zrangescore-example 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-1/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/badboy/redis-zrangescore-example:/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] 14c52c66d222ca393c0074994be6f3f6c6a280fc6436bd42ab95483c4c56761d [INFO] running `"docker" "start" "-a" "14c52c66d222ca393c0074994be6f3f6c6a280fc6436bd42ab95483c4c56761d"` [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling redis v0.11.1-alpha.0 (https://github.com/mitsuhiko/redis-rs/#c1ce4491) [INFO] [stderr] Compiling redis-zrangescore-example v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] 10 | // throw away the result, just make sure it does not fail [INFO] [stderr] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:22:49 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 22 | let res : redis::RedisResult> = con.zrangebyscore_withscores("myzset", 0, 3); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | --- help: consider changing this to be mutable: `mut con` [INFO] [stderr] ... [INFO] [stderr] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stderr] | ^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `redis-zrangescore-example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "14c52c66d222ca393c0074994be6f3f6c6a280fc6436bd42ab95483c4c56761d"` [INFO] running `"docker" "rm" "-f" "14c52c66d222ca393c0074994be6f3f6c6a280fc6436bd42ab95483c4c56761d"` [INFO] [stdout] 14c52c66d222ca393c0074994be6f3f6c6a280fc6436bd42ab95483c4c56761d