[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abad98290532d88cda71b3da3057757ca31551f4 [INFO] testing badboy/redis-zrangescore-example against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fredis-zrangescore-example" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badboy/redis-zrangescore-example on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ae8a45d5504bdb1f5632c14ce0ea9bd6bf3ebdfe0ae80f33a55616e027b0e9 [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" "76ae8a45d5504bdb1f5632c14ce0ea9bd6bf3ebdfe0ae80f33a55616e027b0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ae8a45d5504bdb1f5632c14ce0ea9bd6bf3ebdfe0ae80f33a55616e027b0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ae8a45d5504bdb1f5632c14ce0ea9bd6bf3ebdfe0ae80f33a55616e027b0e9", kill_on_drop: false }` [INFO] [stdout] 76ae8a45d5504bdb1f5632c14ce0ea9bd6bf3ebdfe0ae80f33a55616e027b0e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ade610a0252b5f993c25804272047086ba2a34175f2640e5cb5a2256a407d5 [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" "37ade610a0252b5f993c25804272047086ba2a34175f2640e5cb5a2256a407d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling event-listener v2.2.1 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling concurrent-queue v1.1.2 [INFO] [stderr] Compiling futures-lite v0.1.9 [INFO] [stderr] Compiling async-channel v1.1.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling redis v0.16.1-alpha.0 (https://github.com/mitsuhiko/redis-rs/#739692f3) [INFO] [stderr] Compiling redis-zrangescore-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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" "37ade610a0252b5f993c25804272047086ba2a34175f2640e5cb5a2256a407d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ade610a0252b5f993c25804272047086ba2a34175f2640e5cb5a2256a407d5", kill_on_drop: false }` [INFO] [stdout] 37ade610a0252b5f993c25804272047086ba2a34175f2640e5cb5a2256a407d5