[INFO] cloning repository https://github.com/bholt/scarlet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bholt/scarlet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52266255bc99d2185fd17282c27b93e3f21cd6bd [INFO] checking bholt/scarlet against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbholt%2Fscarlet" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bholt/scarlet on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mitsuhiko/redis-rs.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.41 [INFO] [stderr] Downloaded combine v4.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1686159ca8317ad19def340f30397aa7d75d7b5edce665a996319d22f14b76 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b1686159ca8317ad19def340f30397aa7d75d7b5edce665a996319d22f14b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1686159ca8317ad19def340f30397aa7d75d7b5edce665a996319d22f14b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1686159ca8317ad19def340f30397aa7d75d7b5edce665a996319d22f14b76", kill_on_drop: false }` [INFO] [stdout] 6b1686159ca8317ad19def340f30397aa7d75d7b5edce665a996319d22f14b76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8827779fffcf7483ac33e08cc5fb83858f01b0ffb405381bf1f120d3a3fe20a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8827779fffcf7483ac33e08cc5fb83858f01b0ffb405381bf1f120d3a3fe20a6", kill_on_drop: false }` [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking combine v4.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking redis v0.17.1-alpha.0 (https://github.com/mitsuhiko/redis-rs.git#2d7f94cc) [INFO] [stderr] Checking scarlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `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] warning: use of deprecated macro `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 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 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:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | fn check(c: &Connection) -> RedisResult { [INFO] [stdout] | ----------- help: consider changing this to be a mutable reference: `&mut 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 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 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 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 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[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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8827779fffcf7483ac33e08cc5fb83858f01b0ffb405381bf1f120d3a3fe20a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8827779fffcf7483ac33e08cc5fb83858f01b0ffb405381bf1f120d3a3fe20a6", kill_on_drop: false }` [INFO] [stdout] 8827779fffcf7483ac33e08cc5fb83858f01b0ffb405381bf1f120d3a3fe20a6