[INFO] cloning repository https://github.com/badboy/redis-zrangescore-example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badboy/redis-zrangescore-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] abad98290532d88cda71b3da3057757ca31551f4 [INFO] checking badboy/redis-zrangescore-example against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badboy/redis-zrangescore-example on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/badboy/redis-zrangescore-example [INFO] finished tweaking git repo https://github.com/badboy/redis-zrangescore-example [INFO] tweaked toml for git repo https://github.com/badboy/redis-zrangescore-example written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/badboy/redis-zrangescore-example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs/` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 979d4a59007d70f66e13bcd50d898a3140109096f6607f09a1d4cb5b85b071c2 [INFO] running `"docker" "start" "-a" "979d4a59007d70f66e13bcd50d898a3140109096f6607f09a1d4cb5b85b071c2"` [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking redis v0.13.1-alpha.0 (https://github.com/mitsuhiko/redis-rs/#418512bf) [INFO] [stderr] Checking redis-zrangescore-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let client = try!(redis::Client::open("redis://127.0.0.1/")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let client = try!(redis::Client::open("redis://127.0.0.1/")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | let con = try!(client.get_connection()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stderr] | ^^^ [INFO] [stderr] [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[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] warning: build failed, waiting for other jobs to finish... [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" "979d4a59007d70f66e13bcd50d898a3140109096f6607f09a1d4cb5b85b071c2"` [INFO] running `"docker" "rm" "-f" "979d4a59007d70f66e13bcd50d898a3140109096f6607f09a1d4cb5b85b071c2"` [INFO] [stdout] 979d4a59007d70f66e13bcd50d898a3140109096f6607f09a1d4cb5b85b071c2