[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] testing plaets/http-sysstat against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaets%2Fhttp-sysstat" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plaets/http-sysstat on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e364d48f56aee8a1f7245e643e8d4cb9cc2ea368f9def843975c7e8e137d220b [INFO] running `Command { std: "docker" "start" "-a" "e364d48f56aee8a1f7245e643e8d4cb9cc2ea368f9def843975c7e8e137d220b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e364d48f56aee8a1f7245e643e8d4cb9cc2ea368f9def843975c7e8e137d220b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e364d48f56aee8a1f7245e643e8d4cb9cc2ea368f9def843975c7e8e137d220b", kill_on_drop: false }` [INFO] [stdout] e364d48f56aee8a1f7245e643e8d4cb9cc2ea368f9def843975c7e8e137d220b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4506417e3efb6f32dc8e27615e992ffd55d20ad77aac243e29bcb34b1cbc4d04 [INFO] running `Command { std: "docker" "start" "-a" "4506417e3efb6f32dc8e27615e992ffd55d20ad77aac243e29bcb34b1cbc4d04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [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 standback v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.20 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [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 brotli-sys v0.3.2 [INFO] [stderr] Compiling directories v2.0.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 pest_meta v2.1.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [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 async-trait v0.1.40 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [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 pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [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 trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling serde_json v1.0.57 [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-testing v1.0.1 [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 default_plugins v0.1.0 (/opt/rustwide/workdir/plugins/default_plugins) [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/plugins/example) [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-7f77207095ecb931/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 is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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 02s [INFO] running `Command { std: "docker" "inspect" "4506417e3efb6f32dc8e27615e992ffd55d20ad77aac243e29bcb34b1cbc4d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4506417e3efb6f32dc8e27615e992ffd55d20ad77aac243e29bcb34b1cbc4d04", kill_on_drop: false }` [INFO] [stdout] 4506417e3efb6f32dc8e27615e992ffd55d20ad77aac243e29bcb34b1cbc4d04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89bfed8bfd209cb2b330addc481272ed912101b9cd53cf598782ca11f5b82469 [INFO] running `Command { std: "docker" "start" "-a" "89bfed8bfd209cb2b330addc481272ed912101b9cd53cf598782ca11f5b82469", kill_on_drop: false }` [INFO] [stderr] Compiling http_sysstat_pluginlib v0.1.0 (/opt/rustwide/workdir/http_sysstat_pluginlib) [INFO] [stderr] Compiling default_plugins v0.1.0 (/opt/rustwide/workdir/plugins/default_plugins) [INFO] [stderr] Compiling http_sysstat v0.1.0 (/opt/rustwide/workdir/http_sysstat) [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/plugins/example) [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: 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: 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-7f77207095ecb931/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 is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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 1.86s [INFO] running `Command { std: "docker" "inspect" "89bfed8bfd209cb2b330addc481272ed912101b9cd53cf598782ca11f5b82469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89bfed8bfd209cb2b330addc481272ed912101b9cd53cf598782ca11f5b82469", kill_on_drop: false }` [INFO] [stdout] 89bfed8bfd209cb2b330addc481272ed912101b9cd53cf598782ca11f5b82469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb25fd0111c13af302fad27f96cddbc41cd98fa3fc6db2cc2ee5b7494064610c [INFO] running `Command { std: "docker" "start" "-a" "bb25fd0111c13af302fad27f96cddbc41cd98fa3fc6db2cc2ee5b7494064610c", kill_on_drop: false }` [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> http_sysstat/build.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | tera.add_raw_template("plugins.rs", PLUGINS_RS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> http_sysstat/build.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | fs::write(output_path, tera.render("plugins.rs", &context).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/default_plugins/src/plugin.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/default_plugins/src/plugin.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> plugins/example/src/lib.rs:2:49 [INFO] [stderr] | [INFO] [stderr] 2 | use http_sysstat_pluginlib::serde_json::{Value, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/example/src/lib.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/default_plugins/src/plugin.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/default_plugins/src/plugin.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> plugins/example/src/lib.rs:2:49 [INFO] [stderr] | [INFO] [stderr] 2 | use http_sysstat_pluginlib::serde_json::{Value, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> plugins/example/src/lib.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | fn collect(&self, cfg: &StatsConfig) -> serde_json::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/http_sysstat-7f77207095ecb931/out/plugins.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | fn get_all() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn StatsCollector` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> http_sysstat/src/server.rs:51:15 [INFO] [stderr] | [INFO] [stderr] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> http_sysstat/src/server.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> http_sysstat/src/server.rs:51:64 [INFO] [stderr] | [INFO] [stderr] 51 | async fn test(info: Query, data: Data, req: HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> http_sysstat/src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | start_server(config, plugins); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/default_plugins-3e14b8a3439f3525) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/example-3d3b0cb0ee24ed83) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/http_sysstat-f88cb1ddf2f7dfce) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/http_sysstat_pluginlib-96e10fd0c78cedfd) [INFO] [stdout] [INFO] [stderr] Doc-tests default_plugins [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests example [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests http_sysstat_pluginlib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb25fd0111c13af302fad27f96cddbc41cd98fa3fc6db2cc2ee5b7494064610c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb25fd0111c13af302fad27f96cddbc41cd98fa3fc6db2cc2ee5b7494064610c", kill_on_drop: false }` [INFO] [stdout] bb25fd0111c13af302fad27f96cddbc41cd98fa3fc6db2cc2ee5b7494064610c