[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] testing badboy/redis-zrangescore-example against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badboy/redis-zrangescore-example on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-3/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-3/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2317b1a1e49c659502af5c44c0ffd13234f836d5d67fa53d932d1f3d117b87b6 [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" "2317b1a1e49c659502af5c44c0ffd13234f836d5d67fa53d932d1f3d117b87b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2317b1a1e49c659502af5c44c0ffd13234f836d5d67fa53d932d1f3d117b87b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2317b1a1e49c659502af5c44c0ffd13234f836d5d67fa53d932d1f3d117b87b6", kill_on_drop: false }` [INFO] [stdout] 2317b1a1e49c659502af5c44c0ffd13234f836d5d67fa53d932d1f3d117b87b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d14e4377595b0a5975bbff769f66a9bd06c2081a71b7c0e98211d955cb0280d5 [INFO] running `Command { std: "docker" "start" "-a" "d14e4377595b0a5975bbff769f66a9bd06c2081a71b7c0e98211d955cb0280d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling combine v4.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling redis v0.17.1-alpha.0 (https://github.com/mitsuhiko/redis-rs/#bd8dc731) [INFO] [stderr] Compiling 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] [stderr] error: could not compile `redis-zrangescore-example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d14e4377595b0a5975bbff769f66a9bd06c2081a71b7c0e98211d955cb0280d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d14e4377595b0a5975bbff769f66a9bd06c2081a71b7c0e98211d955cb0280d5", kill_on_drop: false }` [INFO] [stdout] d14e4377595b0a5975bbff769f66a9bd06c2081a71b7c0e98211d955cb0280d5