[INFO] cloning repository https://github.com/badboy/redis-zrangescore-example [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abad98290532d88cda71b3da3057757ca31551f4 [INFO] checking badboy/redis-zrangescore-example against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badboy/redis-zrangescore-example on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f58c3b08d6b94ad69ec7cdfa520a6d3aae2758e074cd91b0b502d4fa04ec6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53f58c3b08d6b94ad69ec7cdfa520a6d3aae2758e074cd91b0b502d4fa04ec6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f58c3b08d6b94ad69ec7cdfa520a6d3aae2758e074cd91b0b502d4fa04ec6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f58c3b08d6b94ad69ec7cdfa520a6d3aae2758e074cd91b0b502d4fa04ec6b", kill_on_drop: false }` [INFO] [stdout] 53f58c3b08d6b94ad69ec7cdfa520a6d3aae2758e074cd91b0b502d4fa04ec6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eab70ac8e0e476afdfe12fc01ed8b9f45213690efa5c0a75a7149f0f8b19b3b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eab70ac8e0e476afdfe12fc01ed8b9f45213690efa5c0a75a7149f0f8b19b3b6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking combine v4.3.2 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking redis v0.17.1-alpha.0 (https://github.com/mitsuhiko/redis-rs/#98df733d) [INFO] [stderr] Checking redis-zrangescore-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = try!(redis::Client::open("redis://127.0.0.1/")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] 10 | // throw away the result, just make sure it does not fail [INFO] [stdout] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 22 | let res : redis::RedisResult> = con.zrangebyscore_withscores("myzset", 0, 3); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = try!(redis::Client::open("redis://127.0.0.1/")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-zrangescore-example` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] 10 | // throw away the result, just make sure it does not fail [INFO] [stdout] 11 | let _ : () = try!(con.del("myzset")); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 12 | let _ : () = try!(con.zadd("myzset", "one", 1)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 13 | let _ : () = try!(con.zadd("myzset", "two", 2)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 14 | let _ : () = try!(con.zadd("myzset", "three", 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 16 | let zset : Vec = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 19 | let zset : Vec<(String,u32)> = try!(con.zrangebyscore_withscores("myzset", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 22 | let res : redis::RedisResult> = con.zrangebyscore_withscores("myzset", 0, 3); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `con` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 9 | let con = try!(client.get_connection()); [INFO] [stdout] | --- help: consider changing this to be mutable: `mut con` [INFO] [stdout] ... [INFO] [stdout] 28 | let zset : Vec = try!(con.zrangebyscore_withscores("non-existent-set", 0, 3)); [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eab70ac8e0e476afdfe12fc01ed8b9f45213690efa5c0a75a7149f0f8b19b3b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab70ac8e0e476afdfe12fc01ed8b9f45213690efa5c0a75a7149f0f8b19b3b6", kill_on_drop: false }` [INFO] [stdout] eab70ac8e0e476afdfe12fc01ed8b9f45213690efa5c0a75a7149f0f8b19b3b6