[INFO] fetching crate streaming_algorithms 0.3.0... [INFO] checking streaming_algorithms-0.3.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate streaming_algorithms 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate streaming_algorithms 0.3.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 streaming_algorithms 0.3.0 [INFO] finished tweaking crates.io crate streaming_algorithms 0.3.0 [INFO] tweaked toml for crates.io crate streaming_algorithms 0.3.0 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f0e24b7542e68a18c5f1c9ff2ffeb1906033f6ac2e54b86e8b41edf7f843d2a9 [INFO] running `Command { std: "docker" "start" "-a" "f0e24b7542e68a18c5f1c9ff2ffeb1906033f6ac2e54b86e8b41edf7f843d2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0e24b7542e68a18c5f1c9ff2ffeb1906033f6ac2e54b86e8b41edf7f843d2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e24b7542e68a18c5f1c9ff2ffeb1906033f6ac2e54b86e8b41edf7f843d2a9", kill_on_drop: false }` [INFO] [stdout] f0e24b7542e68a18c5f1c9ff2ffeb1906033f6ac2e54b86e8b41edf7f843d2a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fe6459a5c5f0d9437761ccd10e6a0778150fba8c78d187c70732c029a6a092c0 [INFO] running `Command { std: "docker" "start" "-a" "fe6459a5c5f0d9437761ccd10e6a0778150fba8c78d187c70732c029a6a092c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking streaming_algorithms v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `self.offsets` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 82 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 83 | self.offsets [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 84 | .iter_mut() [INFO] [stdout] 85 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.counters` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 106 | C::intersect( [INFO] [stdout] 107 | self.counters [INFO] [stdout] | ^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 108 | .iter_mut() [INFO] [stdout] 109 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.counters` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 125 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 126 | self.counters [INFO] [stdout] | ^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 127 | .iter_mut() [INFO] [stdout] 128 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.offsets` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 82 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 83 | self.offsets [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 84 | .iter_mut() [INFO] [stdout] 85 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.counters` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 106 | C::intersect( [INFO] [stdout] 107 | self.counters [INFO] [stdout] | ^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 108 | .iter_mut() [INFO] [stdout] 109 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.counters` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/count_min.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 125 | let offsets = self.offsets(key); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 126 | self.counters [INFO] [stdout] | ^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 127 | .iter_mut() [INFO] [stdout] 128 | .zip(offsets) [INFO] [stdout] | ------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `streaming_algorithms` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 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 `streaming_algorithms` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fe6459a5c5f0d9437761ccd10e6a0778150fba8c78d187c70732c029a6a092c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6459a5c5f0d9437761ccd10e6a0778150fba8c78d187c70732c029a6a092c0", kill_on_drop: false }` [INFO] [stdout] fe6459a5c5f0d9437761ccd10e6a0778150fba8c78d187c70732c029a6a092c0