[INFO] cloning repository https://github.com/d-becker/spider [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d-becker/spider" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-becker%2Fspider", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-becker%2Fspider'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0922ad1d9d2a4395dcee99ff6c22b3acd819e5 [INFO] checking d-becker/spider against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-becker%2Fspider" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d-becker/spider on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/d-becker/spider [INFO] finished tweaking git repo https://github.com/d-becker/spider [INFO] tweaked toml for git repo https://github.com/d-becker/spider written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/d-becker/spider already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ac146813e07f809378ba6ab5335bde1902642ceaa67550af5b30b098d0cc12 [INFO] running `Command { std: "docker" "start" "-a" "93ac146813e07f809378ba6ab5335bde1902642ceaa67550af5b30b098d0cc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ac146813e07f809378ba6ab5335bde1902642ceaa67550af5b30b098d0cc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ac146813e07f809378ba6ab5335bde1902642ceaa67550af5b30b098d0cc12", kill_on_drop: false }` [INFO] [stdout] 93ac146813e07f809378ba6ab5335bde1902642ceaa67550af5b30b098d0cc12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39cd330771f535d5c8af03cfa80ff34987ee8d60fd278209b7c881bacb781c6d [INFO] running `Command { std: "docker" "start" "-a" "39cd330771f535d5c8af03cfa80ff34987ee8d60fd278209b7c881bacb781c6d", kill_on_drop: false }` [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling gio v0.8.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling cairo-rs v0.8.1 [INFO] [stderr] Compiling gdk-pixbuf v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling pango v0.8.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling atk v0.8.0 [INFO] [stderr] Compiling gdk v0.12.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling gtk v0.8.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking spider_backend v0.1.0 (/opt/rustwide/workdir/spider_backend) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> spider_backend/src/model/rectilinear/polygon/tests_fractal_polygon_inside.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] 70 | self.handle_loop(&pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] 70 | self.handle_loop(&pt); [INFO] [stdout] 71 | self.handle_collinearity(&pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.points_` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 73 | self.points_.push(pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> spider_backend/src/model/snake.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn next_step(&self, field: &Field, spider: &Spider) -> Direction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spider` [INFO] [stdout] --> spider_backend/src/model/snake.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn next_step(&self, field: &Field, spider: &Spider) -> Direction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spider_backend` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] 70 | self.handle_loop(&pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] 70 | self.handle_loop(&pt); [INFO] [stdout] 71 | self.handle_collinearity(&pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.points_` as mutable because it is also borrowed as immutable [INFO] [stdout] --> spider_backend/src/model/rectilinear/path/mod.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(last_point) = self.points_.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 69 | for pt in points_to_add { [INFO] [stdout] | ------------- immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 73 | self.points_.push(pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> spider_backend/src/model/snake.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn next_step(&self, field: &Field, spider: &Spider) -> Direction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spider` [INFO] [stdout] --> spider_backend/src/model/snake.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn next_step(&self, field: &Field, spider: &Spider) -> Direction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spider_backend` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39cd330771f535d5c8af03cfa80ff34987ee8d60fd278209b7c881bacb781c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cd330771f535d5c8af03cfa80ff34987ee8d60fd278209b7c881bacb781c6d", kill_on_drop: false }` [INFO] [stdout] 39cd330771f535d5c8af03cfa80ff34987ee8d60fd278209b7c881bacb781c6d