[INFO] updating cached repository https://github.com/bholt/scarlet [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 52266255bc99d2185fd17282c27b93e3f21cd6bd [INFO] testing bholt/scarlet against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bholt/scarlet on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bholt/scarlet [INFO] finished tweaking git repo https://github.com/bholt/scarlet [INFO] tweaked toml for git repo https://github.com/bholt/scarlet written to work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/bholt/scarlet already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] c2fe1fed367ca1e3db33d095f510e8f7b53059dd5bc2afd463824855a15dcfbf [INFO] running `"docker" "start" "-a" "c2fe1fed367ca1e3db33d095f510e8f7b53059dd5bc2afd463824855a15dcfbf"` [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling redis v0.12.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#3466e2f7) [INFO] [stderr] Compiling scarlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 9 | fn check(c: &Connection) -> RedisResult { [INFO] [stderr] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stderr] 10 | try!(c.set("foo", 42)); [INFO] [stderr] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn check(c: &Connection) -> RedisResult { [INFO] [stderr] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stderr] 10 | try!(c.set("foo", 42)); [INFO] [stderr] 11 | c.get("foo") as RedisResult [INFO] [stderr] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 51 | fn set(&self, c: &Connection) -> RedisResult<()> { [INFO] [stderr] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stderr] 52 | c.hset_multiple(Self::key(self.id), argmap!( [INFO] [stderr] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `c` as mutable, as it is not declared as mutable [INFO] [stderr] --> src/main.rs:78:27 [INFO] [stderr] | [INFO] [stderr] 65 | let c = client.get_connection().unwrap(); [INFO] [stderr] | - help: consider changing this to be mutable: `mut c` [INFO] [stderr] ... [INFO] [stderr] 78 | let r : Vec = c.hget(User::key(u.id), &["username","first","last"]).unwrap(); [INFO] [stderr] | ^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: Could not compile `scarlet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c2fe1fed367ca1e3db33d095f510e8f7b53059dd5bc2afd463824855a15dcfbf"` [INFO] running `"docker" "rm" "-f" "c2fe1fed367ca1e3db33d095f510e8f7b53059dd5bc2afd463824855a15dcfbf"` [INFO] [stdout] c2fe1fed367ca1e3db33d095f510e8f7b53059dd5bc2afd463824855a15dcfbf