[INFO] fetching crate hardshare 0.11.0... [INFO] testing hardshare-0.11.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate hardshare 0.11.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate hardshare 0.11.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-13/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v1.0.6 [INFO] [stderr] Downloaded predicates-tree v1.0.1 [INFO] [stderr] Downloaded actix v0.10.0 [INFO] [stderr] Downloaded actix-web v3.3.2 [INFO] [stderr] Downloaded time v0.2.24 [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded predicates-core v1.0.1 [INFO] [stderr] Downloaded assert_cmd v1.0.2 [INFO] [stderr] Downloaded tokio-openssl v0.4.0 [INFO] [stderr] Downloaded standback v0.2.14 [INFO] [stderr] Downloaded awc v2.0.3 [INFO] [stderr] Downloaded serde_yaml v0.8.14 [INFO] [stderr] Downloaded actix_derive v0.5.0 [INFO] [stderr] Downloaded jwt v0.11.0 [INFO] [stderr] Downloaded actix-web-actors v3.0.0 [INFO] [stderr] Downloaded openssl-src v111.12.0+1.1.1h [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9595dc7eb6840cc4f6c1f5ee418b6625327108ef2825060226d6e7e0fb08f7c [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" "d9595dc7eb6840cc4f6c1f5ee418b6625327108ef2825060226d6e7e0fb08f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9595dc7eb6840cc4f6c1f5ee418b6625327108ef2825060226d6e7e0fb08f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9595dc7eb6840cc4f6c1f5ee418b6625327108ef2825060226d6e7e0fb08f7c", kill_on_drop: false }` [INFO] [stdout] d9595dc7eb6840cc4f6c1f5ee418b6625327108ef2825060226d6e7e0fb08f7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c22d364c39623ebc04b1aa21bda45e8b839b74a90c8d6e3389edc6d7365257a5 [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" "c22d364c39623ebc04b1aa21bda45e8b839b74a90c8d6e3389edc6d7365257a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling openssl-src v111.12.0+1.1.1h [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling regex v1.4.3 [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 parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [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 v1.0.2 [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 actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.17 [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-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_json v1.0.60 [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 tokio-openssl v0.4.0 [INFO] [stderr] Compiling jwt v0.11.0 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-tls 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) { [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) { [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, ctx: &mut Context) { [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: variant is never constructed: `HubAccept` [INFO] [stdout] --> src/api.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | HubAccept, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HubPing` [INFO] [stdout] --> src/api.rs:810:5 [INFO] [stdout] | [INFO] [stdout] 810 | HubPing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance_id` [INFO] [stdout] --> src/api.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 816 | instance_id: String, // \in UUID [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `conntype` [INFO] [stdout] --> src/api.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | conntype: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `publickey` [INFO] [stdout] --> src/api.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 818 | publickey: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 55s [INFO] running `Command { std: "docker" "inspect" "c22d364c39623ebc04b1aa21bda45e8b839b74a90c8d6e3389edc6d7365257a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22d364c39623ebc04b1aa21bda45e8b839b74a90c8d6e3389edc6d7365257a5", kill_on_drop: false }` [INFO] [stdout] c22d364c39623ebc04b1aa21bda45e8b839b74a90c8d6e3389edc6d7365257a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] 5ca03106c8baca2d73de770f27633635c851d1ce55cd9b4de92e1903b32b7ebe [INFO] running `Command { std: "docker" "start" "-a" "5ca03106c8baca2d73de770f27633635c851d1ce55cd9b4de92e1903b32b7ebe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tree v1.0.1 [INFO] [stderr] Compiling predicates v1.0.6 [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) { [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) { [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, ctx: &mut Context) { [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: variant is never constructed: `HubAccept` [INFO] [stdout] --> src/api.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | HubAccept, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HubPing` [INFO] [stdout] --> src/api.rs:810:5 [INFO] [stdout] | [INFO] [stdout] 810 | HubPing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance_id` [INFO] [stdout] --> src/api.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 816 | instance_id: String, // \in UUID [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `conntype` [INFO] [stdout] --> src/api.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | conntype: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `publickey` [INFO] [stdout] --> src/api.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 818 | publickey: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.71s [INFO] running `Command { std: "docker" "inspect" "5ca03106c8baca2d73de770f27633635c851d1ce55cd9b4de92e1903b32b7ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca03106c8baca2d73de770f27633635c851d1ce55cd9b4de92e1903b32b7ebe", kill_on_drop: false }` [INFO] [stdout] 5ca03106c8baca2d73de770f27633635c851d1ce55cd9b4de92e1903b32b7ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a66529f0dc24ceeb834920a19be9588cb109a67b19ec0e5cde1a821507b85455 [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" "a66529f0dc24ceeb834920a19be9588cb109a67b19ec0e5cde1a821507b85455", 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) { [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) { [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, ctx: &mut Context) { [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: variant is never constructed: `HubAccept` [INFO] [stderr] --> src/api.rs:809:5 [INFO] [stderr] | [INFO] [stderr] 809 | HubAccept, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HubPing` [INFO] [stderr] --> src/api.rs:810:5 [INFO] [stderr] | [INFO] [stderr] 810 | HubPing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instance_id` [INFO] [stderr] --> src/api.rs:816:5 [INFO] [stderr] | [INFO] [stderr] 816 | instance_id: String, // \in UUID [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `conntype` [INFO] [stderr] --> src/api.rs:817:5 [INFO] [stderr] | [INFO] [stderr] 817 | conntype: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `publickey` [INFO] [stderr] --> src/api.rs:818:5 [INFO] [stderr] | [INFO] [stderr] 818 | publickey: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hardshare` (bin "hardshare" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hardshare-09617d3be32140ad) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test mgmt::tests::find_id ... ok [INFO] [stdout] test mgmt::tests::configuration_directory_suffix ... ok [INFO] [stdout] test mgmt::tests::no_config ... ok [INFO] [stdout] test mgmt::tests::no_saved_api_tokens ... ok [INFO] [stdout] test api::tests::list_no_rules ... ok [INFO] [stdout] test api::tests::get_mistyproxy_config ... ok [INFO] [stdout] test mgmt::tests::init_config ... ok [INFO] [stdout] test cli::tests::list_config_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a66529f0dc24ceeb834920a19be9588cb109a67b19ec0e5cde1a821507b85455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66529f0dc24ceeb834920a19be9588cb109a67b19ec0e5cde1a821507b85455", kill_on_drop: false }` [INFO] [stdout] a66529f0dc24ceeb834920a19be9588cb109a67b19ec0e5cde1a821507b85455