[INFO] updating cached repository https://github.com/mmun/redis-nickel-server [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 972135c421808c41a01fc02b23cf647f786d24f3 [INFO] checking mmun/redis-nickel-server against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmun%2Fredis-nickel-server" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmun/redis-nickel-server on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mmun/redis-nickel-server [INFO] finished tweaking git repo https://github.com/mmun/redis-nickel-server [INFO] tweaked toml for git repo https://github.com/mmun/redis-nickel-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mmun/redis-nickel-server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 83cc46957ce7780791267f364113c14d6dcc0172634a58034160a974b6a6190a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "83cc46957ce7780791267f364113c14d6dcc0172634a58034160a974b6a6190a"` [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking redis v0.13.0 [INFO] [stderr] Checking redis-nickel-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:55:35 [INFO] [stderr] | [INFO] [stderr] 55 | None | Some("current") => try!(redis_conn.get("my-app:current")), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Connection`, `RedisResult` [INFO] [stderr] --> src/main.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | use redis::{Commands, Connection, RedisResult}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*redis_conn` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 52 | let redis_conn = &redis_conn_lock.lock().unwrap(); [INFO] [stderr] | -------------------------------- help: consider changing this to be a mutable reference: `&mut redis_conn_lock.lock().unwrap()` [INFO] [stderr] ... [INFO] [stderr] 55 | None | Some("current") => try!(redis_conn.get("my-app:current")), [INFO] [stderr] | ^^^^^^^^^^ `redis_conn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*redis_conn` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 52 | let redis_conn = &redis_conn_lock.lock().unwrap(); [INFO] [stderr] | -------------------------------- help: consider changing this to be a mutable reference: `&mut redis_conn_lock.lock().unwrap()` [INFO] [stderr] ... [INFO] [stderr] 59 | redis_conn.get(key) [INFO] [stderr] | ^^^^^^^^^^ `redis_conn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `redis-nickel-server`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:55:35 [INFO] [stderr] | [INFO] [stderr] 55 | None | Some("current") => try!(redis_conn.get("my-app:current")), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Connection`, `RedisResult` [INFO] [stderr] --> src/main.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | use redis::{Commands, Connection, RedisResult}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*redis_conn` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 52 | let redis_conn = &redis_conn_lock.lock().unwrap(); [INFO] [stderr] | -------------------------------- help: consider changing this to be a mutable reference: `&mut redis_conn_lock.lock().unwrap()` [INFO] [stderr] ... [INFO] [stderr] 55 | None | Some("current") => try!(redis_conn.get("my-app:current")), [INFO] [stderr] | ^^^^^^^^^^ `redis_conn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*redis_conn` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 52 | let redis_conn = &redis_conn_lock.lock().unwrap(); [INFO] [stderr] | -------------------------------- help: consider changing this to be a mutable reference: `&mut redis_conn_lock.lock().unwrap()` [INFO] [stderr] ... [INFO] [stderr] 59 | redis_conn.get(key) [INFO] [stderr] | ^^^^^^^^^^ `redis_conn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `redis-nickel-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "83cc46957ce7780791267f364113c14d6dcc0172634a58034160a974b6a6190a"` [INFO] running `"docker" "rm" "-f" "83cc46957ce7780791267f364113c14d6dcc0172634a58034160a974b6a6190a"` [INFO] [stdout] 83cc46957ce7780791267f364113c14d6dcc0172634a58034160a974b6a6190a