[INFO] cloning repository https://github.com/xxscloud5722/socketx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xxscloud5722/socketx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxscloud5722%2Fsocketx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxscloud5722%2Fsocketx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41bb41bc062b5b66ba8af0110432a7e6c8888644 [INFO] testing xxscloud5722/socketx against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxscloud5722%2Fsocketx" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xxscloud5722/socketx on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xxscloud5722/socketx [INFO] finished tweaking git repo https://github.com/xxscloud5722/socketx [INFO] tweaked toml for git repo https://github.com/xxscloud5722/socketx written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xxscloud5722/socketx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded serde_yaml v0.8.16 [INFO] [stderr] Downloaded actix-router v0.2.6 [INFO] [stderr] Downloaded shaku v0.6.1 [INFO] [stderr] Downloaded shaku_derive v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cebe6d86048300b6e1cc5d14a0d41a04c00487443c4a6ee61078c0bb0bc42e99 [INFO] running `Command { std: "docker" "start" "-a" "cebe6d86048300b6e1cc5d14a0d41a04c00487443c4a6ee61078c0bb0bc42e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cebe6d86048300b6e1cc5d14a0d41a04c00487443c4a6ee61078c0bb0bc42e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cebe6d86048300b6e1cc5d14a0d41a04c00487443c4a6ee61078c0bb0bc42e99", kill_on_drop: false }` [INFO] [stdout] cebe6d86048300b6e1cc5d14a0d41a04c00487443c4a6ee61078c0bb0bc42e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a629fa93dacbcfd551bd42fc6b59f08eab4c3b8d95928de7611b9e46862c66 [INFO] running `Command { std: "docker" "start" "-a" "c2a629fa93dacbcfd551bd42fc6b59f08eab4c3b8d95928de7611b9e46862c66", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sha-1 v0.9.3 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling libflate v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling shaku_derive v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling shaku v0.6.1 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.16 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling actix-router v0.2.6 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling actix-multipart v0.3.0 [INFO] [stderr] Compiling socketx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `HttpRequest`, `HttpResponse`, `web` [INFO] [stdout] --> src/router/api.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{Responder, HttpResponse, HttpRequest, web, Error}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_multipart::Multipart` [INFO] [stdout] --> src/router/api.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_multipart::Multipart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data` [INFO] [stdout] --> src/router/api.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{server, data}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::body::Body` [INFO] [stdout] --> src/router/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::body::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/router/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `macro_use` [INFO] [stdout] --> src/server/socket.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `macro_use` will be ignored, since it's applied to the macro invocation `lazy_static::lazy_static` [INFO] [stdout] --> src/server/socket.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `PoisonError` [INFO] [stdout] --> src/server/socket.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Mutex, PoisonError, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> src/server/socket.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::HeaderValue` [INFO] [stdout] --> src/server/socket.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::http::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header::ToStrError` [INFO] [stdout] --> src/server/socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::http::header::ToStrError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/server/socket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/server/socket.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/server/socket.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | use serde::{self, Deserialize, Deserializer, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unexpected` [INFO] [stdout] --> src/server/socket.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use serde::de::{Unexpected, Visitor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `macro_use` [INFO] [stdout] --> src/server/config.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `macro_use` will be ignored, since it's applied to the macro invocation `lazy_static::lazy_static` [INFO] [stdout] --> src/server/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarError` [INFO] [stdout] --> src/server/config.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::{var, VarError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `ResponseError`, `web` [INFO] [stdout] --> src/server/tool.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{HttpRequest, web, HttpResponse, ResponseError, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::stream::Stream` [INFO] [stdout] --> src/server/tool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> src/server/tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `MultipartError` [INFO] [stdout] --> src/server/tool.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_multipart::{Multipart, Field, MultipartError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/server/tool.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{StreamExt, TryStreamExt, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::body::Body` [INFO] [stdout] --> src/server/tool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::body::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/server/tool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::error::PayloadError` [INFO] [stdout] --> src/server/tool.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::error::PayloadError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/server/tool.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Utf8Error` [INFO] [stdout] --> src/server/tool.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::str::Utf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header::ContentDisposition` [INFO] [stdout] --> src/server/tool.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use actix_web::http::header::ContentDisposition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/server/tool.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/router/api.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn send(mut payload: Payload) -> impl Responder { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/tool.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn get_body_json(mut payload: Payload) -> Result where T: for<'a> Deserialize<'a> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/tool.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_form_urlencoded(mut payload: Payload) -> Result, XError> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/tool.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn get_byte(mut payload: Payload) -> Result, XError> { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/tool.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/socket.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut info = match self.get_user_info() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/server/config.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_string(key: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_env` [INFO] [stdout] --> src/server/config.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_env(key: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_SIZE` [INFO] [stdout] --> src/server/tool.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX_SIZE: usize = 262_144; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_query_args` [INFO] [stdout] --> src/server/tool.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn get_query_args(request: &HttpRequest) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_form_urlencoded` [INFO] [stdout] --> src/server/tool.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_form_urlencoded(mut payload: Payload) -> Result, XError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_form_data` [INFO] [stdout] --> src/server/tool.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_form_data(mut payload: Multipart) -> Result, XError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_byte` [INFO] [stdout] --> src/server/tool.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn get_byte(mut payload: Payload) -> Result, XError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parsing` [INFO] [stdout] --> src/server/tool.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn parsing(url: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/server/error.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn default() -> AError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `info` [INFO] [stdout] --> src/server/error.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn info(self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Redaction` [INFO] [stdout] --> src/server/error.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Redaction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidHeader` [INFO] [stdout] --> src/server/error.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / InvalidHeader { [INFO] [stdout] 63 | | expected: String, [INFO] [stdout] 64 | | found: String, [INFO] [stdout] 65 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `XError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/server/error.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/error.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socketx` due to 3 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2a629fa93dacbcfd551bd42fc6b59f08eab4c3b8d95928de7611b9e46862c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a629fa93dacbcfd551bd42fc6b59f08eab4c3b8d95928de7611b9e46862c66", kill_on_drop: false }` [INFO] [stdout] c2a629fa93dacbcfd551bd42fc6b59f08eab4c3b8d95928de7611b9e46862c66