[INFO] fetching crate stream_multiplexer 0.16.1... [INFO] testing stream_multiplexer-0.16.1 against 1.49.0 for beta-1.50-1 [INFO] extracting crate stream_multiplexer 0.16.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate stream_multiplexer 0.16.1 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate stream_multiplexer 0.16.1 [INFO] finished tweaking crates.io crate stream_multiplexer 0.16.1 [INFO] tweaked toml for crates.io crate stream_multiplexer 0.16.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4b465e59997c045328ba30d1420385e53d9fe328d5994dcf06883d7e818612e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4b465e59997c045328ba30d1420385e53d9fe328d5994dcf06883d7e818612e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4b465e59997c045328ba30d1420385e53d9fe328d5994dcf06883d7e818612e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b465e59997c045328ba30d1420385e53d9fe328d5994dcf06883d7e818612e", kill_on_drop: false }` [INFO] [stdout] c4b465e59997c045328ba30d1420385e53d9fe328d5994dcf06883d7e818612e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c37b45d4dda253bdc23f5f9152e1768b84391acc5b8c4e56ffde6a176ed37a8 [INFO] running `Command { std: "docker" "start" "-a" "1c37b45d4dda253bdc23f5f9152e1768b84391acc5b8c4e56ffde6a176ed37a8", kill_on_drop: false }` [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling stream_multiplexer v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 341 | match self.channels.get(&channel_id) { [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] ... [INFO] [stdout] 355 | self.process_add_channel(add_res)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 363 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `Option>, async_mutex::Mutex>)>>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 341 | let x = match self.channels.get(&channel_id) { [INFO] [stdout] 342 | Some(channel_guard) => { [INFO] [stdout] 343 | log::debug!("recv({}) before loop {{}}", channel_id); [INFO] [stdout] 344 | let mut channel = channel_guard.value().1.lock().await; [INFO] [stdout] 345 | loop { [INFO] [stdout] 346 | log::debug!("recv({}) awaiting the select", channel_id); [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn remove_channel(&mut self, channel: ChannelId) -> bool { [INFO] [stdout] | ---- expected `bool` because of return type [INFO] [stdout] 207 | // FIXME: What do we do with the sockets in that channel? [INFO] [stdout] 208 | self.channels.remove(&channel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<(usize, (async_channel::Sender>, async_mutex::Mutex>))>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stream_multiplexer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1c37b45d4dda253bdc23f5f9152e1768b84391acc5b8c4e56ffde6a176ed37a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c37b45d4dda253bdc23f5f9152e1768b84391acc5b8c4e56ffde6a176ed37a8", kill_on_drop: false }` [INFO] [stdout] 1c37b45d4dda253bdc23f5f9152e1768b84391acc5b8c4e56ffde6a176ed37a8