[INFO] cloning repository https://github.com/Ivan-Sergeyev/mrf-map
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ivan-Sergeyev/mrf-map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvan-Sergeyev%2Fmrf-map", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvan-Sergeyev%2Fmrf-map'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 985e64ffc5d4738ce2c64a7594035dea0e156711
[INFO] checking Ivan-Sergeyev/mrf-map/985e64ffc5d4738ce2c64a7594035dea0e156711 against ed77b7b8699e342c2dc842c83cb5fe4025252ee8 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvan-Sergeyev%2Fmrf-map" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ivan-Sergeyev/mrf-map
[INFO] finished tweaking git repo https://github.com/Ivan-Sergeyev/mrf-map
[INFO] tweaked toml for git repo https://github.com/Ivan-Sergeyev/mrf-map written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ivan-Sergeyev/mrf-map on toolchain ed77b7b8699e342c2dc842c83cb5fe4025252ee8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ivan-Sergeyev/mrf-map 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" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded queues v1.1.0
[INFO] [stderr]   Downloaded hypergraph v2.1.2
[INFO] [stderr]   Downloaded portable-atomic-util v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b
[INFO] running `Command { std: "docker" "start" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b" "/opt/rustwide/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b" "/opt/rustwide/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]     Checking queues v1.1.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking petgraph v0.6.5
[INFO] [stderr]     Checking hypergraph v2.1.2
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]     Checking mrf-map v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/alg/srmp_new.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |           for in_edge in self.graph_backward.edges_directed(node, Incoming) {
[INFO] [stdout]     |           -              --------------------------------------------------
[INFO] [stdout]     |           |              |
[INFO] [stdout]     |           |              immutable borrow occurs here
[INFO] [stdout]     |  _________|              immutable borrow later used here
[INFO] [stdout]     | |
[INFO] [stdout] 277 | |             self.send(in_edge);
[INFO] [stdout]     | |             ^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 278 | |         }
[INFO] [stdout]     | |_________- this for loop borrows `*self` immutably, preventing mutation within its body
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using an index-based loop instead, or collecting modifications into a separate collection
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:284:39
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn update_incoming_forward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reparam`
[INFO] [stdout]    --> src/alg/srmp_new.rs:284:63
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn update_incoming_forward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:299:40
[INFO] [stdout]     |
[INFO] [stdout] 299 |     fn update_incoming_backward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reparam`
[INFO] [stdout]    --> src/alg/srmp_new.rs:299:64
[INFO] [stdout]     |
[INFO] [stdout] 299 |     fn update_incoming_backward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:305:47
[INFO] [stdout]     |
[INFO] [stdout] 305 |     fn send_incoming_forward_update_lb(&self, node: NodeIndex<usize>) -> f64 {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:327:48
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn send_incoming_backward_update_lb(&self, node: NodeIndex<usize>) -> f64 {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/alg/srmp_new.rs:332:27
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut reparam = self.compute_reparam(node);
[INFO] [stdout]     |                           ^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 331 |     fn compute_reparam_forward(&mut self, node: NodeIndex<usize>) -> MessageND {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/alg/srmp_new.rs:338:27
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let mut reparam = self.compute_reparam(node);
[INFO] [stdout]     |                           ^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn compute_reparam_backward(&mut self, node: NodeIndex<usize>) -> MessageND {
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mrf-map` (bin "mrf-map") due to 3 previous errors; 6 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]    --> src/alg/srmp_new.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |           for in_edge in self.graph_backward.edges_directed(node, Incoming) {
[INFO] [stdout]     |           -              --------------------------------------------------
[INFO] [stdout]     |           |              |
[INFO] [stdout]     |           |              immutable borrow occurs here
[INFO] [stdout]     |  _________|              immutable borrow later used here
[INFO] [stdout]     | |
[INFO] [stdout] 277 | |             self.send(in_edge);
[INFO] [stdout]     | |             ^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 278 | |         }
[INFO] [stdout]     | |_________- this for loop borrows `*self` immutably, preventing mutation within its body
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using an index-based loop instead, or collecting modifications into a separate collection
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:284:39
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn update_incoming_forward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reparam`
[INFO] [stdout]    --> src/alg/srmp_new.rs:284:63
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn update_incoming_forward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:299:40
[INFO] [stdout]     |
[INFO] [stdout] 299 |     fn update_incoming_backward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reparam`
[INFO] [stdout]    --> src/alg/srmp_new.rs:299:64
[INFO] [stdout]     |
[INFO] [stdout] 299 |     fn update_incoming_backward(&self, node: NodeIndex<usize>, reparam: &MessageND) {
[INFO] [stdout]     |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:305:47
[INFO] [stdout]     |
[INFO] [stdout] 305 |     fn send_incoming_forward_update_lb(&self, node: NodeIndex<usize>) -> f64 {
[INFO] [stdout]     |                                               ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/alg/srmp_new.rs:327:48
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn send_incoming_backward_update_lb(&self, node: NodeIndex<usize>) -> f64 {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/alg/srmp_new.rs:332:27
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut reparam = self.compute_reparam(node);
[INFO] [stdout]     |                           ^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 331 |     fn compute_reparam_forward(&mut self, node: NodeIndex<usize>) -> MessageND {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/alg/srmp_new.rs:338:27
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let mut reparam = self.compute_reparam(node);
[INFO] [stdout]     |                           ^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn compute_reparam_backward(&mut self, node: NodeIndex<usize>) -> MessageND {
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mrf-map` (bin "mrf-map" test) due to 3 previous errors; 6 warnings emitted
[INFO] [stderr] warning: unused dependency `hypergraph`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | hypergraph = "2.1.2"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `hypergraph`
[INFO] [stderr] warning: unused dependency `ndarray`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | ndarray = "0.16.1"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `ndarray`
[INFO] [stderr] warning: unused dependency `queues`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | queues = "1.0.2"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `queues`
[INFO] [stderr] warning: `mrf-map` (manifest) generated 3 warnings
[INFO] running `Command { std: "docker" "inspect" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b", kill_on_drop: false }`
[INFO] [stdout] 90568efa8e6a341a9bec841af9268737af4e9ef04bed3893f7e974a87d39ec0b
