[INFO] cloning repository https://github.com/Lolik21/sultan_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lolik21/sultan_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolik21%2Fsultan_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolik21%2Fsultan_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14042f336529b1d27bd440fee3dbb06251893af7 [INFO] checking Lolik21/sultan_cli against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLolik21%2Fsultan_cli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lolik21/sultan_cli [INFO] finished tweaking git repo https://github.com/Lolik21/sultan_cli [INFO] tweaked toml for git repo https://github.com/Lolik21/sultan_cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lolik21/sultan_cli on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lolik21/sultan_cli 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6052af186162bcdeba5a8144dddc75ee43381c1cb9a6a70ae1bbbbe54a2586a [INFO] running `Command { std: "docker" "start" "-a" "e6052af186162bcdeba5a8144dddc75ee43381c1cb9a6a70ae1bbbbe54a2586a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6052af186162bcdeba5a8144dddc75ee43381c1cb9a6a70ae1bbbbe54a2586a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6052af186162bcdeba5a8144dddc75ee43381c1cb9a6a70ae1bbbbe54a2586a", kill_on_drop: false }` [INFO] [stdout] e6052af186162bcdeba5a8144dddc75ee43381c1cb9a6a70ae1bbbbe54a2586a [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92cec4208132fdb7075e1faf13f31545947fd6f7e863b2d733b13414e8f4c8f4 [INFO] running `Command { std: "docker" "start" "-a" "92cec4208132fdb7075e1faf13f31545947fd6f7e863b2d733b13414e8f4c8f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking zeroize v1.5.3 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking mio v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking dialoguer v0.10.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking sultan_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/actions/apk_patch_net_cfg.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | let mut new_element = elem.borrow().clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `BytesStart<'_>` does not implement `Borrow`, so calling `borrow` on `&BytesStart<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - let mut new_element = elem.borrow().clone(); [INFO] [stdout] 70 + let mut new_element = elem.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `BytesStart<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.22.0/src/events/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub struct BytesStart<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/ip_tools.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | return String::from_str(&string[ip_start+1..ip_end]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sultan_cli` (bin "sultan_cli" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/actions/apk_patch_net_cfg.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | let mut new_element = elem.borrow().clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `BytesStart<'_>` does not implement `Borrow`, so calling `borrow` on `&BytesStart<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 70 - let mut new_element = elem.borrow().clone(); [INFO] [stdout] 70 + let mut new_element = elem.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `BytesStart<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.22.0/src/events/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub struct BytesStart<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tools/ip_tools.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | return String::from_str(&string[ip_start+1..ip_end]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sultan_cli` (bin "sultan_cli") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "92cec4208132fdb7075e1faf13f31545947fd6f7e863b2d733b13414e8f4c8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92cec4208132fdb7075e1faf13f31545947fd6f7e863b2d733b13414e8f4c8f4", kill_on_drop: false }` [INFO] [stdout] 92cec4208132fdb7075e1faf13f31545947fd6f7e863b2d733b13414e8f4c8f4