[INFO] fetching crate dag_compute 0.1.0... [INFO] checking dag_compute-0.1.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate dag_compute 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dag_compute 0.1.0 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 crates.io crate dag_compute 0.1.0 [INFO] finished tweaking crates.io crate dag_compute 0.1.0 [INFO] tweaked toml for crates.io crate dag_compute 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate dag_compute 0.1.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 911c77b3487e16e73a3e136f1ad55f4b08c88b040c6dd5d26b54e70a0bc95ef0 [INFO] running `Command { std: "docker" "start" "-a" "911c77b3487e16e73a3e136f1ad55f4b08c88b040c6dd5d26b54e70a0bc95ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "911c77b3487e16e73a3e136f1ad55f4b08c88b040c6dd5d26b54e70a0bc95ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911c77b3487e16e73a3e136f1ad55f4b08c88b040c6dd5d26b54e70a0bc95ef0", kill_on_drop: false }` [INFO] [stdout] 911c77b3487e16e73a3e136f1ad55f4b08c88b040c6dd5d26b54e70a0bc95ef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b3deba5a5514ab4d4a4a3993faadd2edd0ded5309a64d9795b4f2f227d89bac2 [INFO] running `Command { std: "docker" "start" "-a" "b3deba5a5514ab4d4a4a3993faadd2edd0ded5309a64d9795b4f2f227d89bac2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking riff v1.0.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking wav v1.0.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dag_compute v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stdout] error[E0502]: cannot borrow `self.node_storage` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- mutable borrow later used here [INFO] [stdout] 206 | let node = self.node_storage.get(node_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.node_storage` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:211:77 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 211 | let node_input_arcs: Vec<_> = node_input_keyvec.into_iter().map(|key| { [INFO] [stdout] | ^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 219 | self.node_storage.get(key).unwrap().computed_val() [INFO] [stdout] | ----------------- second borrow occurs due to use of `self.node_storage` in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.4 [INFO] [stdout] error[E0499]: cannot borrow `self.node_refcount` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:211:77 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 211 | let node_input_arcs: Vec<_> = node_input_keyvec.into_iter().map(|key| { [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] 212 | let in_refcnt = self.node_refcount.get_mut(key).unwrap(); [INFO] [stdout] | ------------------ second borrow occurs due to use of `self.node_refcount` in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.node_storage` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 228 | self.node_storage.remove(old_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.node_refcount` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 229 | self.node_refcount.remove(old_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.node_storage` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 203 | let compute_order = self.computation_order(); [INFO] [stdout] | ---- first mutable borrow occurs here [INFO] [stdout] 204 | debug!("Computing node values"); [INFO] [stdout] 205 | for node_key in compute_order { [INFO] [stdout] | ------------- first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 232 | let node = self.node_storage.get_mut(node_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dag_compute` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b3deba5a5514ab4d4a4a3993faadd2edd0ded5309a64d9795b4f2f227d89bac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3deba5a5514ab4d4a4a3993faadd2edd0ded5309a64d9795b4f2f227d89bac2", kill_on_drop: false }` [INFO] [stdout] b3deba5a5514ab4d4a4a3993faadd2edd0ded5309a64d9795b4f2f227d89bac2