[INFO] updating cached repository https://github.com/bholt/scarlet [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] 52266255bc99d2185fd17282c27b93e3f21cd6bd [INFO] checking bholt/scarlet against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bholt/scarlet on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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 /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bholt/scarlet already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-10/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 `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 906615202f87b8ff746eab29c9a6c426e6c0318f0e4b6e431ec1c0dfcf3134df [INFO] running `"docker" "start" "-a" "906615202f87b8ff746eab29c9a6c426e6c0318f0e4b6e431ec1c0dfcf3134df"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking kv-log-macro v1.0.5 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking combine v4.1.0 [INFO] [stderr] Checking redis v0.16.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#78e10546) [INFO] [stderr] Checking scarlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | try!(c.set("foo", 42)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | try!(c.set("foo", 42)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [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: could not compile `scarlet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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; 1 warning emitted [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" "906615202f87b8ff746eab29c9a6c426e6c0318f0e4b6e431ec1c0dfcf3134df"` [INFO] running `"docker" "rm" "-f" "906615202f87b8ff746eab29c9a6c426e6c0318f0e4b6e431ec1c0dfcf3134df"` [INFO] [stdout] 906615202f87b8ff746eab29c9a6c426e6c0318f0e4b6e431ec1c0dfcf3134df