[INFO] cloning repository https://github.com/plaets/http-sysstat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plaets/http-sysstat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaets%2Fhttp-sysstat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaets%2Fhttp-sysstat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da42cf5318e1f75c68451785d9505a69adc13096 [INFO] building plaets/http-sysstat against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaets%2Fhttp-sysstat" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plaets/http-sysstat on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/plaets/http-sysstat [INFO] finished tweaking git repo https://github.com/plaets/http-sysstat [INFO] tweaked toml for git repo https://github.com/plaets/http-sysstat written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/plaets/http-sysstat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "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 derive_more v0.99.10 [INFO] [stderr] Downloaded bytesize v1.0.1 [INFO] [stderr] Downloaded actix-web v3.0.2 [INFO] [stderr] Downloaded systemstat v0.1.5 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] [stderr] Downloaded standback v0.2.10 [INFO] [stderr] Downloaded time v0.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c66cebc41b0cc544dfd95bda1183fef14f8d013919ac6a88040f3c680b76dca5 [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" "c66cebc41b0cc544dfd95bda1183fef14f8d013919ac6a88040f3c680b76dca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c66cebc41b0cc544dfd95bda1183fef14f8d013919ac6a88040f3c680b76dca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66cebc41b0cc544dfd95bda1183fef14f8d013919ac6a88040f3c680b76dca5", kill_on_drop: false }` [INFO] [stdout] c66cebc41b0cc544dfd95bda1183fef14f8d013919ac6a88040f3c680b76dca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c5c1dd7f6859eef3522bb570beaf9ad6add20080f5783ccd944d3ff960f487d [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" "0c5c1dd7f6859eef3522bb570beaf9ad6add20080f5783ccd944d3ff960f487d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.20 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling systemstat v0.1.5 [INFO] [stderr] Compiling actix-http v2.0.0 [INFO] [stderr] Compiling awc v2.0.0 [INFO] [stderr] Compiling actix-web v3.0.2 [INFO] [stderr] Compiling tera v1.5.0 [INFO] [stderr] Compiling http_sysstat_pluginlib v0.1.0 (/opt/rustwide/workdir/http_sysstat_pluginlib) [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/plugins/example) [INFO] [stderr] Compiling default_plugins v0.1.0 (/opt/rustwide/workdir/plugins/default_plugins) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> plugins/example/src/lib.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use http_sysstat_pluginlib::serde_json::{Value, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/example/src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http_sysstat v0.1.0 (/opt/rustwide/workdir/http_sysstat) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/build.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | tera.add_raw_template("plugins.rs", PLUGINS_RS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/build.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fs::write(output_path, tera.render("plugins.rs", &context).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/http_sysstat-951289ac86a61947/out/plugins.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_all() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn StatsCollector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> http_sysstat/src/server.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> http_sysstat/src/server.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> http_sysstat/src/server.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | start_server(config, plugins); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "0c5c1dd7f6859eef3522bb570beaf9ad6add20080f5783ccd944d3ff960f487d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c5c1dd7f6859eef3522bb570beaf9ad6add20080f5783ccd944d3ff960f487d", kill_on_drop: false }` [INFO] [stdout] 0c5c1dd7f6859eef3522bb570beaf9ad6add20080f5783ccd944d3ff960f487d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 772c5e61d574abb18d231838881f74f1d4a0ad6ad8459b6db486b855446ad5fa [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" "772c5e61d574abb18d231838881f74f1d4a0ad6ad8459b6db486b855446ad5fa", kill_on_drop: false }` [INFO] [stderr] Compiling http_sysstat_pluginlib v0.1.0 (/opt/rustwide/workdir/http_sysstat_pluginlib) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/build.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | tera.add_raw_template("plugins.rs", PLUGINS_RS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/build.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fs::write(output_path, tera.render("plugins.rs", &context).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling default_plugins v0.1.0 (/opt/rustwide/workdir/plugins/default_plugins) [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> plugins/example/src/lib.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use http_sysstat_pluginlib::serde_json::{Value, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/plugins/example) [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/example/src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http_sysstat v0.1.0 (/opt/rustwide/workdir/http_sysstat) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> plugins/example/src/lib.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use http_sysstat_pluginlib::serde_json::{Value, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/example/src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> plugins/default_plugins/src/plugin.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/http_sysstat-951289ac86a61947/out/plugins.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_all() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn StatsCollector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> http_sysstat/src/server.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> http_sysstat/src/server.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> http_sysstat/src/server.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> http_sysstat/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | start_server(config, plugins); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "772c5e61d574abb18d231838881f74f1d4a0ad6ad8459b6db486b855446ad5fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772c5e61d574abb18d231838881f74f1d4a0ad6ad8459b6db486b855446ad5fa", kill_on_drop: false }` [INFO] [stdout] 772c5e61d574abb18d231838881f74f1d4a0ad6ad8459b6db486b855446ad5fa