[INFO] cloning repository https://github.com/pms-oj/pms-slave [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pms-oj/pms-slave" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms-oj%2Fpms-slave", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms-oj%2Fpms-slave'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0ff810d5f92a9fd725fd370457a75b5b22ab378 [INFO] testing pms-oj/pms-slave against 1.99.0-beta.8 for beta-1.100-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms-oj%2Fpms-slave" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pms-oj/pms-slave [INFO] finished tweaking git repo https://github.com/pms-oj/pms-slave [INFO] tweaked toml for git repo https://github.com/pms-oj/pms-slave written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pms-oj/pms-slave on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pms-oj/pms-slave already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/polymath-cc/judge-protocol` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.2.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded openssl-sys v0.9.77 [INFO] [stderr] Downloaded async-io v1.9.0 [INFO] [stderr] Downloaded thread-id v4.0.0 [INFO] [stderr] Downloaded serdect v0.1.0 [INFO] [stderr] Downloaded async-global-executor v2.3.0 [INFO] [stderr] Downloaded ff v0.12.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.51 [INFO] [stderr] Downloaded rfc6979 v0.3.0 [INFO] [stderr] Downloaded actix_derive v0.6.0 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded zeroize v1.5.7 [INFO] [stderr] Downloaded chacha20 v0.9.0 [INFO] [stderr] Downloaded anyhow v1.0.66 [INFO] [stderr] Downloaded const-oid v0.9.0 [INFO] [stderr] Downloaded base64ct v1.5.3 [INFO] [stderr] Downloaded arc-swap v1.5.1 [INFO] [stderr] Downloaded der v0.6.0 [INFO] [stderr] Downloaded actix v0.13.0 [INFO] [stderr] Downloaded bson v2.4.0 [INFO] [stderr] Downloaded openssl v0.10.42 [INFO] [stderr] Downloaded blake3 v1.3.1 [INFO] [stderr] Downloaded serde_bytes v0.11.7 [INFO] [stderr] Downloaded filetime v0.2.18 [INFO] [stderr] Downloaded async-tar v0.4.2 [INFO] [stderr] Downloaded xattr v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741 [INFO] running `Command { std: "docker" "start" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling polling v2.4.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling const-oid v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling base64ct v1.5.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling time-macros v0.2.5 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling async-lock v2.6.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling rfc6979 v0.3.0 [INFO] [stderr] Compiling time v0.3.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling chacha20 v0.9.0 [INFO] [stderr] Compiling filetime v0.2.18 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling uuid-macro-internal v1.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling serdect v0.1.0 [INFO] [stderr] Compiling uuid v1.2.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-native-tls v0.4.0 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling async-global-executor v2.3.0 [INFO] [stderr] Compiling bson v2.4.0 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling async-tar v0.4.2 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling actix v0.13.0 [INFO] [stderr] Compiling judge-protocol v0.1.0 (https://github.com/polymath-cc/judge-protocol#dce1614b) [INFO] [stderr] Compiling redis v0.22.1 [INFO] [stderr] Compiling pms-slave v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::CONFIG` [INFO] [stdout] --> src/container/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/judge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::Options` [INFO] [stdout] --> src/judge.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Options; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `judge_protocol::judge::*` [INFO] [stdout] --> src/judge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use judge_protocol::judge::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `judge_protocol::packet::*` [INFO] [stdout] --> src/judge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use judge_protocol::packet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/judge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/language.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/language.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use redis::{Client, AsyncCommands}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::fs::DirBuilder` [INFO] [stdout] --> src/protocol.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::fs::DirBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::BufReader` [INFO] [stdout] --> src/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::PublicKey` [INFO] [stdout] --> src/protocol.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use k256::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/protocol.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/protocol.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/protocol.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Client` [INFO] [stdout] --> src/protocol.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use redis::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/protocol.rs:761:48 [INFO] [stdout] | [INFO] [stdout] 761 | node_id: RwLock::new(std::u32::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `Write` [INFO] [stdout] --> src/language.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, prelude::*}; [INFO] [stdout] | ------- `Write` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 167 | tempfile.write_all(&code).ok(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `Write` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #152822 [INFO] [stdout] = note: `#[warn(ambiguous_glob_imported_traits)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `Write` [INFO] [stdout] --> src/language.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, prelude::*}; [INFO] [stdout] | ------- `Write` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 168 | tempfile.flush().ok(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `Write` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #152822 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_checker` [INFO] [stdout] --> src/protocol.rs:288:57 [INFO] [stdout] | [INFO] [stdout] 288 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_checker` [INFO] [stdout] --> src/protocol.rs:396:57 [INFO] [stdout] | [INFO] [stdout] 396 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `max_rss`, `killed`, `csw_voluntary`, `csw_forced`, and `cg_oom_killed` are never read [INFO] [stdout] --> src/container/mod.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct RunMeta { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 320 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 321 | pub max_rss: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 322 | pub killed: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub csw_voluntary: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 326 | pub csw_forced: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 327 | pub cg_mem: Option, [INFO] [stdout] 328 | pub cg_oom_killed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunMeta` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main_binary` and `checker_binary` are never read [INFO] [stdout] --> src/judge.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OnJudge { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub main_binary: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub checker_binary: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/language.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Language { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | pub uuid: Uuid, [INFO] [stdout] 25 | pub name: String, // Display name [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Language` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/protocol.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Actions { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_token` is never used [INFO] [stdout] --> src/protocol.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 58 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | async fn verify_token(&self, stream: Arc) -> async_std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | self.signal.send(Actions::Reconnect(0)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.signal.send(Actions::Reconnect(0)).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.42, redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling pms-slave v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::CONFIG` [INFO] [stdout] --> src/container/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/judge.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::Options` [INFO] [stdout] --> src/judge.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::Options; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `judge_protocol::judge::*` [INFO] [stdout] --> src/judge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use judge_protocol::judge::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `judge_protocol::packet::*` [INFO] [stdout] --> src/judge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use judge_protocol::packet::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/judge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/language.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/language.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use redis::{Client, AsyncCommands}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::fs::DirBuilder` [INFO] [stdout] --> src/protocol.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::fs::DirBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::io::BufReader` [INFO] [stdout] --> src/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::PublicKey` [INFO] [stdout] --> src/protocol.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use k256::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/protocol.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/protocol.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/protocol.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/protocol.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Client` [INFO] [stdout] --> src/protocol.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use redis::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/protocol.rs:761:48 [INFO] [stdout] | [INFO] [stdout] 761 | node_id: RwLock::new(std::u32::MAX), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `Write` [INFO] [stdout] --> src/language.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, prelude::*}; [INFO] [stdout] | ------- `Write` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 167 | tempfile.write_all(&code).ok(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `Write` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #152822 [INFO] [stdout] = note: `#[warn(ambiguous_glob_imported_traits)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Use of ambiguously glob imported trait `Write` [INFO] [stdout] --> src/language.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, prelude::*}; [INFO] [stdout] | ------- `Write` imported ambiguously here [INFO] [stdout] ... [INFO] [stdout] 168 | tempfile.flush().ok(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: Import `Write` explicitly [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #152822 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_checker` [INFO] [stdout] --> src/protocol.rs:288:57 [INFO] [stdout] | [INFO] [stdout] 288 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_checker` [INFO] [stdout] --> src/protocol.rs:396:57 [INFO] [stdout] | [INFO] [stdout] 396 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `max_rss`, `killed`, `csw_voluntary`, `csw_forced`, and `cg_oom_killed` are never read [INFO] [stdout] --> src/container/mod.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct RunMeta { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 320 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 321 | pub max_rss: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 322 | pub killed: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub csw_voluntary: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 326 | pub csw_forced: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 327 | pub cg_mem: Option, [INFO] [stdout] 328 | pub cg_oom_killed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunMeta` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main_binary` and `checker_binary` are never read [INFO] [stdout] --> src/judge.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OnJudge { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub main_binary: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub checker_binary: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/language.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Language { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | pub uuid: Uuid, [INFO] [stdout] 25 | pub name: String, // Display name [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Language` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/protocol.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Actions { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_token` is never used [INFO] [stdout] --> src/protocol.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 58 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | async fn verify_token(&self, stream: Arc) -> async_std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/protocol.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | self.signal.send(Actions::Reconnect(0)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.signal.send(Actions::Reconnect(0)).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.42, redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::CONFIG` [INFO] [stderr] --> src/container/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::CONFIG; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::net::TcpStream` [INFO] [stderr] --> src/judge.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use async_std::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bincode::Options` [INFO] [stderr] --> src/judge.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use bincode::Options; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `judge_protocol::judge::*` [INFO] [stderr] --> src/judge.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use judge_protocol::judge::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `judge_protocol::packet::*` [INFO] [stderr] --> src/judge.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use judge_protocol::packet::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> src/judge.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::NamedTempFile` [INFO] [stderr] --> src/language.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use tempfile::NamedTempFile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Client` [INFO] [stderr] --> src/language.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use redis::{Client, AsyncCommands}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::fs::DirBuilder` [INFO] [stderr] --> src/protocol.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use async_std::fs::DirBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::io::BufReader` [INFO] [stderr] --> src/protocol.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use async_std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `k256::PublicKey` [INFO] [stderr] --> src/protocol.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use k256::PublicKey; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::NamedTempFile` [INFO] [stderr] --> src/protocol.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use tempfile::NamedTempFile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/protocol.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/protocol.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> src/protocol.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `redis::Client` [INFO] [stderr] --> src/protocol.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use redis::Client; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/protocol.rs:761:48 [INFO] [stderr] | [INFO] [stderr] 761 | node_id: RwLock::new(std::u32::MAX), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: Use of ambiguously glob imported trait `Write` [INFO] [stderr] --> src/language.rs:167:18 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{self, prelude::*}; [INFO] [stderr] | ------- `Write` imported ambiguously here [INFO] [stderr] ... [INFO] [stderr] 167 | tempfile.write_all(&code).ok(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Import `Write` explicitly [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #152822 [INFO] [stderr] = note: `#[warn(ambiguous_glob_imported_traits)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: Use of ambiguously glob imported trait `Write` [INFO] [stderr] --> src/language.rs:168:18 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{self, prelude::*}; [INFO] [stderr] | ------- `Write` imported ambiguously here [INFO] [stderr] ... [INFO] [stderr] 168 | tempfile.flush().ok(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Import `Write` explicitly [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #152822 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status_checker` [INFO] [stderr] --> src/protocol.rs:288:57 [INFO] [stderr] | [INFO] [stderr] 288 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status_checker` [INFO] [stderr] --> src/protocol.rs:396:57 [INFO] [stderr] | [INFO] [stderr] 396 | ... if let Some(status_checker) = res_checker.meta.status { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_checker` [INFO] [stderr] [INFO] [stderr] warning: fields `message`, `max_rss`, `killed`, `csw_voluntary`, `csw_forced`, and `cg_oom_killed` are never read [INFO] [stderr] --> src/container/mod.rs:320:9 [INFO] [stderr] | [INFO] [stderr] 316 | pub struct RunMeta { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 320 | pub message: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 321 | pub max_rss: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 322 | pub killed: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 325 | pub csw_voluntary: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 326 | pub csw_forced: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 327 | pub cg_mem: Option, [INFO] [stderr] 328 | pub cg_oom_killed: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RunMeta` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `main_binary` and `checker_binary` are never read [INFO] [stderr] --> src/judge.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct OnJudge { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub main_binary: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | pub checker_binary: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `version` are never read [INFO] [stderr] --> src/language.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Language { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 24 | pub uuid: Uuid, [INFO] [stderr] 25 | pub name: String, // Display name [INFO] [stderr] | ^^^^ [INFO] [stderr] 26 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Language` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Unknown` is never constructed [INFO] [stderr] --> src/protocol.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub enum Actions { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 46 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Actions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `verify_token` is never used [INFO] [stderr] --> src/protocol.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 58 | impl State { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 59 | async fn verify_token(&self, stream: Arc) -> async_std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/protocol.rs:137:25 [INFO] [stderr] | [INFO] [stderr] 137 | self.signal.send(Actions::Reconnect(0)).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 137 | let _ = self.signal.send(Actions::Reconnect(0)).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `pms-slave` (bin "pms-slave" test) generated 27 warnings (run `cargo fix --bin "pms-slave" -p pms-slave --tests` to apply 18 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.42, redis v0.22.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pms_slave-240390afb05d5dc5) [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" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741", kill_on_drop: false }` [INFO] [stdout] 08c588d7b2474e63193873aecadfb55893b9ee4bcb62a1e4a271de0e038d0741