[INFO] fetching crate rune 0.12.4... [INFO] checking rune-0.12.4 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rune 0.12.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rune 0.12.4 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 rune 0.12.4 [INFO] finished tweaking crates.io crate rune 0.12.4 [INFO] tweaked toml for crates.io crate rune 0.12.4 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] b388a4d1af4694aedab940cb4e5b78b656091ee9d823538b4863dec021a846d1 [INFO] running `Command { std: "docker" "start" "-a" "b388a4d1af4694aedab940cb4e5b78b656091ee9d823538b4863dec021a846d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b388a4d1af4694aedab940cb4e5b78b656091ee9d823538b4863dec021a846d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b388a4d1af4694aedab940cb4e5b78b656091ee9d823538b4863dec021a846d1", kill_on_drop: false }` [INFO] [stdout] b388a4d1af4694aedab940cb4e5b78b656091ee9d823538b4863dec021a846d1 [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] 048c19dd456e5aead58655c8fdc8ca54bcbf85f43931d36daeca54e3bbf3109e [INFO] running `Command { std: "docker" "start" "-a" "048c19dd456e5aead58655c8fdc8ca54bcbf85f43931d36daeca54e3bbf3109e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling rune-macros v0.12.4 [INFO] [stderr] Compiling checkers-macros v0.6.2 [INFO] [stderr] Checking checkers v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking rune v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `worker.q` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compile/mod.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 119 | for source_id in worker.q.sources.source_ids() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 120 | let mod_item = match worker.q.insert_root_mod(source_id, Span::empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `worker.q` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compile/mod.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 119 | for source_id in worker.q.sources.source_ids() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 120 | let mod_item = match worker.q.insert_root_mod(source_id, Span::empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rune` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rune` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "048c19dd456e5aead58655c8fdc8ca54bcbf85f43931d36daeca54e3bbf3109e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048c19dd456e5aead58655c8fdc8ca54bcbf85f43931d36daeca54e3bbf3109e", kill_on_drop: false }` [INFO] [stdout] 048c19dd456e5aead58655c8fdc8ca54bcbf85f43931d36daeca54e3bbf3109e