[INFO] updating cached repository mmun/redis-nickel-server [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mmun/redis-nickel-server [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mmun/redis-nickel-server" "work/ex/beta-1.38-1/sources/1.37.0/gh/mmun/redis-nickel-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/mmun/redis-nickel-server'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mmun/redis-nickel-server" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mmun/redis-nickel-server"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mmun/redis-nickel-server'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 972135c421808c41a01fc02b23cf647f786d24f3 [INFO] sha for GitHub repo mmun/redis-nickel-server: 972135c421808c41a01fc02b23cf647f786d24f3 [INFO] validating manifest of mmun/redis-nickel-server on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mmun/redis-nickel-server on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mmun/redis-nickel-server [INFO] finished frobbing mmun/redis-nickel-server [INFO] frobbed toml for mmun/redis-nickel-server written to work/ex/beta-1.38-1/sources/1.37.0/gh/mmun/redis-nickel-server/Cargo.toml [INFO] started frobbing mmun/redis-nickel-server [INFO] finished frobbing mmun/redis-nickel-server [INFO] frobbed toml for mmun/redis-nickel-server written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mmun/redis-nickel-server/Cargo.toml [INFO] crate mmun/redis-nickel-server already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/mmun/redis-nickel-server/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing mmun/redis-nickel-server against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/mmun/redis-nickel-server:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] cf09c8a47283452323a8f1c46dea52a35ad90788043c59b20f9c4f850dca379e [INFO] running `"docker" "start" "-a" "cf09c8a47283452323a8f1c46dea52a35ad90788043c59b20f9c4f850dca379e"` [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling ascii v0.9.2 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling redis v0.11.0 [INFO] [stderr] Compiling redis-nickel-server v0.1.0 (/opt/crater/workdir) [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" "cf09c8a47283452323a8f1c46dea52a35ad90788043c59b20f9c4f850dca379e"` [INFO] running `"docker" "rm" "-f" "cf09c8a47283452323a8f1c46dea52a35ad90788043c59b20f9c4f850dca379e"` [INFO] [stdout] cf09c8a47283452323a8f1c46dea52a35ad90788043c59b20f9c4f850dca379e