[INFO] fetching crate stack-graphs 0.12.0... [INFO] checking stack-graphs-0.12.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate stack-graphs 0.12.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate stack-graphs 0.12.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 stack-graphs 0.12.0 [INFO] finished tweaking crates.io crate stack-graphs 0.12.0 [INFO] tweaked toml for crates.io crate stack-graphs 0.12.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1e10932e16fcec33f60f2a167466ac4453bc73d07358c3e8dd2aff1fe32a6e73 [INFO] running `Command { std: "docker" "start" "-a" "1e10932e16fcec33f60f2a167466ac4453bc73d07358c3e8dd2aff1fe32a6e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e10932e16fcec33f60f2a167466ac4453bc73d07358c3e8dd2aff1fe32a6e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e10932e16fcec33f60f2a167466ac4453bc73d07358c3e8dd2aff1fe32a6e73", kill_on_drop: false }` [INFO] [stdout] 1e10932e16fcec33f60f2a167466ac4453bc73d07358c3e8dd2aff1fe32a6e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6ccf5c7250fab87a41653d4edd685a09223b68d50e16e27025a48f5e0518ef5b [INFO] running `Command { std: "docker" "start" "-a" "6ccf5c7250fab87a41653d4edd685a09223b68d50e16e27025a48f5e0518ef5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking lsp-positions v0.3.2 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling controlled-option-macros v0.2.2 [INFO] [stderr] Checking controlled-option v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking enumset v1.1.2 [INFO] [stderr] Checking stack-graphs v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 403 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 404 | self.local_nodes.add(self[handle].start_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 403 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 404 | self.local_nodes.add(self[handle].start_node); [INFO] [stdout] 405 | self.local_nodes.add(self[handle].end_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:434:21 [INFO] [stdout] | [INFO] [stdout] 423 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 434 | self.local_nodes.remove(end_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 423 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 444 | self.local_nodes.remove(start_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.partial_paths` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 475 | for path in self.partial_paths.iter_handles() { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 476 | / self.partial_paths [INFO] [stdout] 477 | | .get_mut(path) [INFO] [stdout] | |______________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.partial_paths` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 483 | for path in self.partial_paths.iter_handles() { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 484 | self.partial_paths.get_mut(path).ensure_forwards(partials); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 403 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 404 | self.local_nodes.add(self[handle].start_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 403 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 404 | self.local_nodes.add(self[handle].start_node); [INFO] [stdout] 405 | self.local_nodes.add(self[handle].end_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:434:21 [INFO] [stdout] | [INFO] [stdout] 423 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 434 | self.local_nodes.remove(end_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.local_nodes` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 423 | for handle in self.iter_partial_paths() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 444 | self.local_nodes.remove(start_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.partial_paths` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 475 | for path in self.partial_paths.iter_handles() { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 476 | / self.partial_paths [INFO] [stdout] 477 | | .get_mut(path) [INFO] [stdout] | |______________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.partial_paths` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/stitching.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 483 | for path in self.partial_paths.iter_handles() { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 484 | self.partial_paths.get_mut(path).ensure_forwards(partials); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stack-graphs` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stack-graphs` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "6ccf5c7250fab87a41653d4edd685a09223b68d50e16e27025a48f5e0518ef5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ccf5c7250fab87a41653d4edd685a09223b68d50e16e27025a48f5e0518ef5b", kill_on_drop: false }` [INFO] [stdout] 6ccf5c7250fab87a41653d4edd685a09223b68d50e16e27025a48f5e0518ef5b