[INFO] updating cached repository https://github.com/bholt/scarlet [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] 52266255bc99d2185fd17282c27b93e3f21cd6bd [INFO] testing bholt/scarlet against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bholt/scarlet on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/bholt/scarlet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] [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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ddd72752e5b982a7de315607bab4873e434109e3379aa091ca828a7d0c132c7 [INFO] running `Command { std: "docker" "start" "-a" "2ddd72752e5b982a7de315607bab4873e434109e3379aa091ca828a7d0c132c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ddd72752e5b982a7de315607bab4873e434109e3379aa091ca828a7d0c132c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ddd72752e5b982a7de315607bab4873e434109e3379aa091ca828a7d0c132c7", kill_on_drop: false }` [INFO] [stdout] 2ddd72752e5b982a7de315607bab4873e434109e3379aa091ca828a7d0c132c7 [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b8cff939d11d918e26e0e3131a9fffcbd784b7c47ee978e2f8eedb68d96b93c [INFO] running `Command { std: "docker" "start" "-a" "6b8cff939d11d918e26e0e3131a9fffcbd784b7c47ee978e2f8eedb68d96b93c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fastrand v1.3.4 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling event-listener v2.3.3 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [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.23 [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.17.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#1e125185) [INFO] [stderr] Compiling scarlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(c.set("foo", 42)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | fn check(c: &Connection) -> RedisResult { [INFO] [stdout] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stdout] 10 | try!(c.set("foo", 42)); [INFO] [stdout] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn check(c: &Connection) -> RedisResult { [INFO] [stdout] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stdout] 10 | try!(c.set("foo", 42)); [INFO] [stdout] 11 | c.get("foo") as RedisResult [INFO] [stdout] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*c` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn set(&self, c: &Connection) -> RedisResult<()> { [INFO] [stdout] | ----------- help: consider changing this to be a mutable reference: `&mut redis::Connection` [INFO] [stdout] 52 | c.hset_multiple(Self::key(self.id), argmap!( [INFO] [stdout] | ^ `c` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `c` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 65 | let c = client.get_connection().unwrap(); [INFO] [stdout] | - help: consider changing this to be mutable: `mut c` [INFO] [stdout] ... [INFO] [stdout] 78 | let r : Vec = c.hget(User::key(u.id), &["username","first","last"]).unwrap(); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning 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 `scarlet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b8cff939d11d918e26e0e3131a9fffcbd784b7c47ee978e2f8eedb68d96b93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8cff939d11d918e26e0e3131a9fffcbd784b7c47ee978e2f8eedb68d96b93c", kill_on_drop: false }` [INFO] [stdout] 6b8cff939d11d918e26e0e3131a9fffcbd784b7c47ee978e2f8eedb68d96b93c