[INFO] fetching crate hardshare 0.11.0...
[INFO] testing hardshare-0.11.0 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate hardshare 0.11.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate hardshare 0.11.0 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hardshare 0.11.0
[INFO] finished tweaking crates.io crate hardshare 0.11.0
[INFO] tweaked toml for crates.io crate hardshare 0.11.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate hardshare 0.11.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", 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] 7e3d5e7e8db01a95d67a55f5da00eb63cc230442cb4fd72b04f7a2172cce0c7f
[INFO] running `Command { std: "docker" "start" "-a" "7e3d5e7e8db01a95d67a55f5da00eb63cc230442cb4fd72b04f7a2172cce0c7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3d5e7e8db01a95d67a55f5da00eb63cc230442cb4fd72b04f7a2172cce0c7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e3d5e7e8db01a95d67a55f5da00eb63cc230442cb4fd72b04f7a2172cce0c7f", kill_on_drop: false }`
[INFO] [stdout] 7e3d5e7e8db01a95d67a55f5da00eb63cc230442cb4fd72b04f7a2172cce0c7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "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] 7b48dd348da3543c422c7ad009117cac72f1f2d87eb57d86546e99e56cf72550
[INFO] running `Command { std: "docker" "start" "-a" "7b48dd348da3543c422c7ad009117cac72f1f2d87eb57d86546e99e56cf72550", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling object v0.22.0
[INFO] [stderr]    Compiling serde_json v1.0.60
[INFO] [stderr]    Compiling encoding_rs v0.8.26
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling standback v0.2.14
[INFO] [stderr]    Compiling thread_local v1.1.0
[INFO] [stderr]    Compiling time v0.2.24
[INFO] [stderr]    Compiling cookie v0.14.3
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling openssl-src v111.12.0+1.1.1h
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling yaml-rust v0.4.4
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling sha-1 v0.9.2
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling tracing v0.1.22
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.36
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling socket2 v0.3.17
[INFO] [stderr]    Compiling flate2 v1.0.19
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling tokio v0.2.23
[INFO] [stderr]    Compiling backtrace v0.3.55
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling actix_derive v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling pin-project v1.0.2
[INFO] [stderr]    Compiling futures-executor v0.3.17
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling futures v0.3.17
[INFO] [stderr]    Compiling trust-dns-proto v0.19.6
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling actix v0.10.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling actix-router v0.2.5
[INFO] [stderr]    Compiling serde_yaml v0.8.14
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling tokio-openssl v0.4.0
[INFO] [stderr]    Compiling jwt v0.11.0
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling actix-web-actors v3.0.0
[INFO] [stderr]    Compiling hardshare v0.11.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ac`
[INFO] [stdout]    --> src/api.rs:823:5
[INFO] [stdout]     |
[INFO] [stdout] 823 |     ac: HSAPIClient,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_ac`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origin`
[INFO] [stdout]    --> src/api.rs:309:13
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let origin = self.origin.clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/api.rs:544:23
[INFO] [stdout]     |
[INFO] [stdout] 544 |                 .map(|resp| ())
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wd_index`
[INFO] [stdout]    --> src/api.rs:590:17
[INFO] [stdout]     |
[INFO] [stdout] 590 |             let wd_index = match mgmt::find_id_prefix(&local_config, Some(wdid.as_str())) {
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wd_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/api.rs:592:21
[INFO] [stdout]     |
[INFO] [stdout] 592 |                 Err(err) => return actix_web::HttpResponse::NotFound().finish(),
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/api.rs:654:23
[INFO] [stdout]     |
[INFO] [stdout] 654 |                 .map(|resp| ())
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:874:27
[INFO] [stdout]     |
[INFO] [stdout] 874 |     fn stopped(&mut self, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:912:54
[INFO] [stdout]     |
[INFO] [stdout] 912 |     fn handle(&mut self, msg: WSClientWorkerMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:918:63
[INFO] [stdout]     |
[INFO] [stdout] 918 |     fn handle(&mut self, msg: Result<Frame, WsProtocolError>, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 let mut resp = client.delete(url).send().await?;
[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]    --> src/api.rs:480:25
[INFO] [stdout]     |
[INFO] [stdout] 480 |                     let mut addons_config = payload["addons_config"].take();
[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]    --> src/api.rs:689:21
[INFO] [stdout]     |
[INFO] [stdout] 689 |                 let mut ac = Arc::clone(&ac);
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HubAccept` and `HubPing` are never constructed
[INFO] [stdout]    --> src/api.rs:809:5
[INFO] [stdout]     |
[INFO] [stdout] 805 | enum CWorkerCommandType {
[INFO] [stdout]     |      ------------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 809 |     HubAccept,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 810 |     HubPing,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `CWorkerCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance_id`, `conntype` and `publickey` are never read
[INFO] [stdout]    --> src/api.rs:816:5
[INFO] [stdout]     |
[INFO] [stdout] 814 | struct CWorkerCommand {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] 815 |     command: CWorkerCommandType,
[INFO] [stdout] 816 |     instance_id: String, // \in UUID
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 817 |     conntype: Option<ConnType>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 818 |     publickey: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CWorkerCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4m 47s
[INFO] running `Command { std: "docker" "inspect" "7b48dd348da3543c422c7ad009117cac72f1f2d87eb57d86546e99e56cf72550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b48dd348da3543c422c7ad009117cac72f1f2d87eb57d86546e99e56cf72550", kill_on_drop: false }`
[INFO] [stdout] 7b48dd348da3543c422c7ad009117cac72f1f2d87eb57d86546e99e56cf72550
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--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] 339cc2b18ff326b7c891760d33dc3af374199b45bd5b94149f5bbba611a1bfac
[INFO] running `Command { std: "docker" "start" "-a" "339cc2b18ff326b7c891760d33dc3af374199b45bd5b94149f5bbba611a1bfac", kill_on_drop: false }`
[INFO] [stderr]    Compiling predicates-core v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling assert-json-diff v2.0.1
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling predicates v1.0.6
[INFO] [stderr]    Compiling predicates-tree v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling assert_cmd v1.0.2
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling mockito v0.30.0
[INFO] [stderr]    Compiling hardshare v0.11.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ac`
[INFO] [stdout]    --> src/api.rs:823:5
[INFO] [stdout]     |
[INFO] [stdout] 823 |     ac: HSAPIClient,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_ac`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origin`
[INFO] [stdout]    --> src/api.rs:309:13
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let origin = self.origin.clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/api.rs:544:23
[INFO] [stdout]     |
[INFO] [stdout] 544 |                 .map(|resp| ())
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wd_index`
[INFO] [stdout]    --> src/api.rs:590:17
[INFO] [stdout]     |
[INFO] [stdout] 590 |             let wd_index = match mgmt::find_id_prefix(&local_config, Some(wdid.as_str())) {
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wd_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/api.rs:592:21
[INFO] [stdout]     |
[INFO] [stdout] 592 |                 Err(err) => return actix_web::HttpResponse::NotFound().finish(),
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]    --> src/api.rs:654:23
[INFO] [stdout]     |
[INFO] [stdout] 654 |                 .map(|resp| ())
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:874:27
[INFO] [stdout]     |
[INFO] [stdout] 874 |     fn stopped(&mut self, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:912:54
[INFO] [stdout]     |
[INFO] [stdout] 912 |     fn handle(&mut self, msg: WSClientWorkerMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/api.rs:918:63
[INFO] [stdout]     |
[INFO] [stdout] 918 |     fn handle(&mut self, msg: Result<Frame, WsProtocolError>, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api.rs:287:21
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 let mut resp = client.delete(url).send().await?;
[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]    --> src/api.rs:480:25
[INFO] [stdout]     |
[INFO] [stdout] 480 |                     let mut addons_config = payload["addons_config"].take();
[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]    --> src/api.rs:689:21
[INFO] [stdout]     |
[INFO] [stdout] 689 |                 let mut ac = Arc::clone(&ac);
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HubAccept` and `HubPing` are never constructed
[INFO] [stdout]    --> src/api.rs:809:5
[INFO] [stdout]     |
[INFO] [stdout] 805 | enum CWorkerCommandType {
[INFO] [stdout]     |      ------------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 809 |     HubAccept,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 810 |     HubPing,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `CWorkerCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance_id`, `conntype` and `publickey` are never read
[INFO] [stdout]    --> src/api.rs:816:5
[INFO] [stdout]     |
[INFO] [stdout] 814 | struct CWorkerCommand {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] 815 |     command: CWorkerCommandType,
[INFO] [stdout] 816 |     instance_id: String, // \in UUID
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 817 |     conntype: Option<ConnType>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 818 |     publickey: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CWorkerCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 26.32s
[INFO] running `Command { std: "docker" "inspect" "339cc2b18ff326b7c891760d33dc3af374199b45bd5b94149f5bbba611a1bfac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "339cc2b18ff326b7c891760d33dc3af374199b45bd5b94149f5bbba611a1bfac", kill_on_drop: false }`
[INFO] [stdout] 339cc2b18ff326b7c891760d33dc3af374199b45bd5b94149f5bbba611a1bfac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4302c5fc44ac4bc6cc518fa6c37eedf2fc5f64a36da0782ce2b953fe82db7771
[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" "4302c5fc44ac4bc6cc518fa6c37eedf2fc5f64a36da0782ce2b953fe82db7771", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `ac`
[INFO] [stderr]    --> src/api.rs:823:5
[INFO] [stderr]     |
[INFO] [stderr] 823 |     ac: HSAPIClient,
[INFO] [stderr]     |     ^^ help: if this is intentional, prefix it with an underscore: `_ac`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `origin`
[INFO] [stderr]    --> src/api.rs:309:13
[INFO] [stderr]     |
[INFO] [stderr] 309 |         let origin = self.origin.clone();
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `resp`
[INFO] [stderr]    --> src/api.rs:544:23
[INFO] [stderr]     |
[INFO] [stderr] 544 |                 .map(|resp| ())
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `wd_index`
[INFO] [stderr]    --> src/api.rs:590:17
[INFO] [stderr]     |
[INFO] [stderr] 590 |             let wd_index = match mgmt::find_id_prefix(&local_config, Some(wdid.as_str())) {
[INFO] [stderr]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wd_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/api.rs:592:21
[INFO] [stderr]     |
[INFO] [stderr] 592 |                 Err(err) => return actix_web::HttpResponse::NotFound().finish(),
[INFO] [stderr]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `resp`
[INFO] [stderr]    --> src/api.rs:654:23
[INFO] [stderr]     |
[INFO] [stderr] 654 |                 .map(|resp| ())
[INFO] [stderr]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/api.rs:874:27
[INFO] [stderr]     |
[INFO] [stderr] 874 |     fn stopped(&mut self, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/api.rs:912:54
[INFO] [stderr]     |
[INFO] [stderr] 912 |     fn handle(&mut self, msg: WSClientWorkerMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/api.rs:918:63
[INFO] [stderr]     |
[INFO] [stderr] 918 |     fn handle(&mut self, msg: Result<Frame, WsProtocolError>, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/api.rs:287:21
[INFO] [stderr]     |
[INFO] [stderr] 287 |                 let mut resp = client.delete(url).send().await?;
[INFO] [stderr]     |                     ----^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/api.rs:480:25
[INFO] [stderr]     |
[INFO] [stderr] 480 |                     let mut addons_config = payload["addons_config"].take();
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/api.rs:689:21
[INFO] [stderr]     |
[INFO] [stderr] 689 |                 let mut ac = Arc::clone(&ac);
[INFO] [stderr]     |                     ----^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `HubAccept` and `HubPing` are never constructed
[INFO] [stderr]    --> src/api.rs:809:5
[INFO] [stderr]     |
[INFO] [stderr] 805 | enum CWorkerCommandType {
[INFO] [stderr]     |      ------------------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 809 |     HubAccept,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 810 |     HubPing,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]     = note: `CWorkerCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `instance_id`, `conntype` and `publickey` are never read
[INFO] [stderr]    --> src/api.rs:816:5
[INFO] [stderr]     |
[INFO] [stderr] 814 | struct CWorkerCommand {
[INFO] [stderr]     |        -------------- fields in this struct
[INFO] [stderr] 815 |     command: CWorkerCommandType,
[INFO] [stderr] 816 |     instance_id: String, // \in UUID
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 817 |     conntype: Option<ConnType>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 818 |     publickey: Option<String>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CWorkerCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `hardshare` (bin "hardshare" test) generated 14 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hardshare-a3d122e31e76c050)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test mgmt::tests::configuration_directory_suffix ... ok
[INFO] [stdout] test mgmt::tests::no_saved_api_tokens ... ok
[INFO] [stdout] test mgmt::tests::find_id ... ok
[INFO] [stdout] test mgmt::tests::no_config ... ok
[INFO] [stdout] test api::tests::list_no_rules ... ok
[INFO] [stdout] test api::tests::get_mistyproxy_config ... ok
[INFO] [stdout] test cli::tests::list_config_json ... ok
[INFO] [stdout] test mgmt::tests::init_config ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4302c5fc44ac4bc6cc518fa6c37eedf2fc5f64a36da0782ce2b953fe82db7771", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4302c5fc44ac4bc6cc518fa6c37eedf2fc5f64a36da0782ce2b953fe82db7771", kill_on_drop: false }`
[INFO] [stdout] 4302c5fc44ac4bc6cc518fa6c37eedf2fc5f64a36da0782ce2b953fe82db7771
