[INFO] fetching crate local-runtime 0.2.1...
[INFO] checking local-runtime-0.2.1 against try#8e819ff5434466e9a823e03871a1775ac7d84ddf for pr-156027
[INFO] extracting crate local-runtime 0.2.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate local-runtime 0.2.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate local-runtime 0.2.1
[INFO] tweaked toml for crates.io crate local-runtime 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate local-runtime 0.2.1 on toolchain 8e819ff5434466e9a823e03871a1775ac7d84ddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate local-runtime 0.2.1 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" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc421eca7f4e941eda10d0b8424d8e099b04660e97ba2e60a2d18429a18c0813
[INFO] running `Command { std: "docker" "start" "-a" "bc421eca7f4e941eda10d0b8424d8e099b04660e97ba2e60a2d18429a18c0813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc421eca7f4e941eda10d0b8424d8e099b04660e97ba2e60a2d18429a18c0813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc421eca7f4e941eda10d0b8424d8e099b04660e97ba2e60a2d18429a18c0813", kill_on_drop: false }`
[INFO] [stdout] bc421eca7f4e941eda10d0b8424d8e099b04660e97ba2e60a2d18429a18c0813
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d877584b1903a76e74d8ee3cacef166fb7aaa0ae63e670de1a32c1b85b6b3622
[INFO] running `Command { std: "docker" "start" "-a" "d877584b1903a76e74d8ee3cacef166fb7aaa0ae63e670de1a32c1b85b6b3622", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-lite v2.6.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.6
[INFO] [stderr]     Checking local-runtime v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `state.event_sources` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/reactor.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let event_sources = state.event_sources.iter().map(|(s, d)| (*s, d.filter()));
[INFO] [stdout]     |                                 ------------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 289 |             for (source, filter) in revents.into_iter().flatten() {
[INFO] [stdout]     |                                     ----------------------------- immutable borrow later used here
[INFO] [stdout] 290 |                 let data = state.event_sources.get_mut(&source).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn block_on<T, F>(mut fut: F) -> T
[INFO] [stdout]     |                       ----^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `local-runtime` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0502]: cannot borrow `state.event_sources` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/reactor.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let event_sources = state.event_sources.iter().map(|(s, d)| (*s, d.filter()));
[INFO] [stdout]     |                                 ------------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 289 |             for (source, filter) in revents.into_iter().flatten() {
[INFO] [stdout]     |                                     ----------------------------- immutable borrow later used here
[INFO] [stdout] 290 |                 let data = state.event_sources.get_mut(&source).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn block_on<T, F>(mut fut: F) -> T
[INFO] [stdout]     |                       ----^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `local-runtime` (lib test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d877584b1903a76e74d8ee3cacef166fb7aaa0ae63e670de1a32c1b85b6b3622", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d877584b1903a76e74d8ee3cacef166fb7aaa0ae63e670de1a32c1b85b6b3622", kill_on_drop: false }`
[INFO] [stdout] d877584b1903a76e74d8ee3cacef166fb7aaa0ae63e670de1a32c1b85b6b3622
