[INFO] cloning repository https://github.com/lerouxrgd/sws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lerouxrgd/sws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerouxrgd%2Fsws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerouxrgd%2Fsws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1440e43bf5f3e0f8a3c1bc8f7198e597d2e79f72 [INFO] checking lerouxrgd/sws against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flerouxrgd%2Fsws" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lerouxrgd/sws 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 git repo https://github.com/lerouxrgd/sws [INFO] finished tweaking git repo https://github.com/lerouxrgd/sws [INFO] tweaked toml for git repo https://github.com/lerouxrgd/sws written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lerouxrgd/sws 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a9b553d26fe6090ae1aa8c6fb0ba95eb0bf6e75dd6005e379d9e013e24636ca3 [INFO] running `Command { std: "docker" "start" "-a" "a9b553d26fe6090ae1aa8c6fb0ba95eb0bf6e75dd6005e379d9e013e24636ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9b553d26fe6090ae1aa8c6fb0ba95eb0bf6e75dd6005e379d9e013e24636ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b553d26fe6090ae1aa8c6fb0ba95eb0bf6e75dd6005e379d9e013e24636ca3", kill_on_drop: false }` [INFO] [stdout] a9b553d26fe6090ae1aa8c6fb0ba95eb0bf6e75dd6005e379d9e013e24636ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 207a31260a03b77b4d3bc4603865a168d62808ba9d6796b3d641562eb6f9e476 [INFO] running `Command { std: "docker" "start" "-a" "207a31260a03b77b4d3bc4603865a168d62808ba9d6796b3d641562eb6f9e476", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking sws-tree v1.0.0 (/opt/rustwide/workdir/crates/sws-tree) [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | .map(|mut new_child| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | .map(|mut last_child| { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:326:56 [INFO] [stdout] | [INFO] [stdout] 326 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|mut new_child| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | .map(|mut first_child| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:364:56 [INFO] [stdout] | [INFO] [stdout] 364 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:399:27 [INFO] [stdout] | [INFO] [stdout] 399 | .map(|mut new_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | .map(|mut prev_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:412:60 [INFO] [stdout] | [INFO] [stdout] 412 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:416:62 [INFO] [stdout] | [INFO] [stdout] 416 | tree.sm.borrow_mut().get_mut(parent.id).map(|mut parent| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | .map(|mut new_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | .map(|mut next_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:461:60 [INFO] [stdout] | [INFO] [stdout] 461 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:465:62 [INFO] [stdout] | [INFO] [stdout] 465 | tree.sm.borrow_mut().get_mut(parent.id).map(|mut parent| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling lua-src v544.0.1 [INFO] [stderr] Compiling selectors v0.23.0 [INFO] [stderr] Compiling luajit-src v210.4.0+resty124ff8d [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling erased-serde v0.3.21 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling mlua v0.8.1 [INFO] [stderr] Checking sxd-xpath v0.4.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | .map(|mut new_child| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | .map(|mut last_child| { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:326:56 [INFO] [stdout] | [INFO] [stdout] 326 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | .map(|mut new_child| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | .map(|mut first_child| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:364:56 [INFO] [stdout] | [INFO] [stdout] 364 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:399:27 [INFO] [stdout] | [INFO] [stdout] 399 | .map(|mut new_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | .map(|mut prev_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:412:60 [INFO] [stdout] | [INFO] [stdout] 412 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:416:62 [INFO] [stdout] | [INFO] [stdout] 416 | tree.sm.borrow_mut().get_mut(parent.id).map(|mut parent| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | .map(|mut new_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | .map(|mut next_sibling| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:461:60 [INFO] [stdout] | [INFO] [stdout] 461 | tree.sm.borrow_mut().get_mut(self.id).map(|mut this_node| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sws-tree/src/lib.rs:465:62 [INFO] [stdout] | [INFO] [stdout] 465 | tree.sm.borrow_mut().get_mut(parent.id).map(|mut parent| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.28.1 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.12 [INFO] [stderr] Checking clap_complete v3.2.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.14 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking texting_robots v0.2.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking sws-scraper v0.2.3 (/opt/rustwide/workdir/crates/sws-scraper) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking sws-crawler v0.1.0 (/opt/rustwide/workdir/crates/sws-crawler) [INFO] [stdout] error[E0599]: the method `map` exists for struct `Scan>>>, &mut Result<(), Error>, impl Future, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/sws-crawler/src/crawler.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 394 | / stream [INFO] [stdout] 395 | | .scan(&mut err, until_err) [INFO] [stdout] 396 | | .map(|page| tx_page.send(page).ok()) [INFO] [stdout] | | -^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.21/src/stream/stream/scan.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// Stream for the [`scan`](super::StreamExt::scan) method. [INFO] [stdout] 18 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 19 | | pub struct Scan { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | doesn't satisfy `_: Iterator` [INFO] [stdout] | |_doesn't satisfy `_: StreamExt` [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sws_crawler-dfe4775a47177fda.long-type-718360473195348872.txt' [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Iterator` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `Scan>>>, &mut Result<(), Error>, impl Future, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/sws-crawler/src/crawler.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 394 | / stream [INFO] [stdout] 395 | | .scan(&mut err, until_err) [INFO] [stdout] 396 | | .map(|page| tx_page.send(page).ok()) [INFO] [stdout] | | -^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.21/src/stream/stream/scan.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// Stream for the [`scan`](super::StreamExt::scan) method. [INFO] [stdout] 18 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 19 | | pub struct Scan { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | doesn't satisfy `_: Iterator` [INFO] [stdout] | |_doesn't satisfy `_: StreamExt` [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sws_crawler-af76059e0980bf4d.long-type-14238801638664703185.txt' [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Stream` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: futures::StreamExt` [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Iterator` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result) -> impl futures::Future> {until_err::}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Scan>>>, &mut Result<(), Error>, impl Future, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/sws-crawler/src/crawler.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | ... stream.scan(&mut err, until_err).collect::>().await; [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.21/src/stream/stream/scan.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// Stream for the [`scan`](super::StreamExt::scan) method. [INFO] [stdout] 18 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 19 | | pub struct Scan { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | doesn't satisfy `_: Iterator` [INFO] [stdout] | |_doesn't satisfy `_: StreamExt` [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sws_crawler-dfe4775a47177fda.long-type-3739131149485667229.txt' [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Iterator` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Scan>>>, &mut Result<(), Error>, impl Future, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/sws-crawler/src/crawler.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | ... stream.scan(&mut err, until_err).collect::>().await; [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.21/src/stream/stream/scan.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// Stream for the [`scan`](super::StreamExt::scan) method. [INFO] [stdout] 18 | | #[must_use = "streams do nothing unless polled"] [INFO] [stdout] 19 | | pub struct Scan { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | doesn't satisfy `_: Iterator` [INFO] [stdout] | |_doesn't satisfy `_: StreamExt` [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/sws_crawler-af76059e0980bf4d.long-type-2896632345825467144.txt' [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `&futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Stream` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: futures::StreamExt` [INFO] [stdout] `futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Iterator` [INFO] [stdout] which is required by `&mut futures::stream::Scan>>>, &mut Result<(), anyhow::Error>, impl futures::Future>, for<'a, 'b> fn(&'a mut &'b mut Result<(), anyhow::Error>, Result<(), anyhow::Error>) -> impl futures::Future> {until_err::<(), anyhow::Error>}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sws-crawler` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sws-crawler` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "207a31260a03b77b4d3bc4603865a168d62808ba9d6796b3d641562eb6f9e476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207a31260a03b77b4d3bc4603865a168d62808ba9d6796b3d641562eb6f9e476", kill_on_drop: false }` [INFO] [stdout] 207a31260a03b77b4d3bc4603865a168d62808ba9d6796b3d641562eb6f9e476