[INFO] cloning repository https://github.com/klawisha/VKT_core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klawisha/VKT_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklawisha%2FVKT_core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklawisha%2FVKT_core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d877c5a048e51ad07e62c67953b5c42b3669ef7b [INFO] testing klawisha/VKT_core against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklawisha%2FVKT_core" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/klawisha/VKT_core on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/klawisha/VKT_core [INFO] finished tweaking git repo https://github.com/klawisha/VKT_core [INFO] tweaked toml for git repo https://github.com/klawisha/VKT_core written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/klawisha/VKT_core 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.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded path-dedot v3.0.17 [INFO] [stderr] Downloaded iron-cors v0.8.0 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded open v2.1.2 [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded clap v3.1.15 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4192bb1758bd24adcfd1b24560728f17060d7a5a58a21d5558512afad6b7f637 [INFO] running `Command { std: "docker" "start" "-a" "4192bb1758bd24adcfd1b24560728f17060d7a5a58a21d5558512afad6b7f637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4192bb1758bd24adcfd1b24560728f17060d7a5a58a21d5558512afad6b7f637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4192bb1758bd24adcfd1b24560728f17060d7a5a58a21d5558512afad6b7f637", kill_on_drop: false }` [INFO] [stdout] 4192bb1758bd24adcfd1b24560728f17060d7a5a58a21d5558512afad6b7f637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555a6acb8d2393197777ce884fd51b3939a5bb870b0205a39b80fb2c9ce181be [INFO] running `Command { std: "docker" "start" "-a" "555a6acb8d2393197777ce884fd51b3939a5bb870b0205a39b80fb2c9ce181be", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling open v2.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling clap v3.1.15 [INFO] [stderr] Compiling path-dedot v3.0.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling iron-cors v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling VKTServer v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AcceptEncoding`, `ContentEncoding`, `Encoding`, and `QualityItem` [INFO] [stdout] --> src/main.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use iron::headers::{AcceptEncoding, ContentEncoding, Encoding, QualityItem}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Time` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use time::Time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthChecker` and `CompressionHandler` [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | use middlewares::{AuthChecker, CompressionHandler, RequestLogger}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ETag`, `EntityTag`, `IfMatch`, and `IfRange` [INFO] [stdout] --> src/main.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | ContentType, ETag, EntityTag, IfMatch, IfRange, Range, RangeUnit, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LastModified` [INFO] [stdout] --> src/main.rs:835:70 [INFO] [stdout] | [INFO] [stdout] 835 | CacheControl, CacheDirective, HttpDate, IfModifiedSince, LastModified, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let matches = clap::App::new("VKR server") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::AppSettings::ColoredHelp`: This is now the default [INFO] [stdout] --> src/main.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | .setting(clap::AppSettings::ColoredHelp) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | .arg(clap::Arg::with_name("root") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | .arg(clap::Arg::with_name("index") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | .arg(clap::Arg::with_name("upload") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | .arg(clap::Arg::with_name("redirect").long("redirect") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | .arg(clap::Arg::with_name("nosort") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | .arg(clap::Arg::with_name("nocache") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | .arg(clap::Arg::with_name("norange") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | .arg(clap::Arg::with_name("cert") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | .arg(clap::Arg::with_name("cors") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | .arg(clap::Arg::with_name("certpass"). [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | .arg(clap::Arg::with_name("upload_size_limit") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | .arg(clap::Arg::with_name("ip") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | .arg(clap::Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | .arg(clap::Arg::with_name("threads") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | .arg(clap::Arg::with_name("try-file-404") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | .arg(clap::Arg::with_name("silent") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | .arg(clap::Arg::with_name("open") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_red` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let color_red = Some(build_spec(Some(Color::Red), false)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let time = FileTime::from_last_modification_time(&metadata); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_modified_since` [INFO] [stdout] --> src/main.rs:954:55 [INFO] [stdout] | [INFO] [stdout] 954 | if let Some(&IfModifiedSince(HttpDate(ref if_modified_since))) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_modified_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | let mut range = req.headers.get::(); [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: associated function `new` is never used [INFO] [stdout] --> src/middlewares/auth.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthChecker { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(s: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "555a6acb8d2393197777ce884fd51b3939a5bb870b0205a39b80fb2c9ce181be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555a6acb8d2393197777ce884fd51b3939a5bb870b0205a39b80fb2c9ce181be", kill_on_drop: false }` [INFO] [stdout] 555a6acb8d2393197777ce884fd51b3939a5bb870b0205a39b80fb2c9ce181be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] babb5f64ff8547792a74d40a9c4ee1895dcd0c3b657c7f90d0f80e2208cd425c [INFO] running `Command { std: "docker" "start" "-a" "babb5f64ff8547792a74d40a9c4ee1895dcd0c3b657c7f90d0f80e2208cd425c", kill_on_drop: false }` [INFO] [stderr] Compiling VKTServer v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AcceptEncoding`, `ContentEncoding`, `Encoding`, and `QualityItem` [INFO] [stdout] --> src/main.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use iron::headers::{AcceptEncoding, ContentEncoding, Encoding, QualityItem}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Time` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use time::Time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthChecker` and `CompressionHandler` [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | use middlewares::{AuthChecker, CompressionHandler, RequestLogger}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ETag`, `EntityTag`, `IfMatch`, and `IfRange` [INFO] [stdout] --> src/main.rs:832:26 [INFO] [stdout] | [INFO] [stdout] 832 | ContentType, ETag, EntityTag, IfMatch, IfRange, Range, RangeUnit, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LastModified` [INFO] [stdout] --> src/main.rs:835:70 [INFO] [stdout] | [INFO] [stdout] 835 | CacheControl, CacheDirective, HttpDate, IfModifiedSince, LastModified, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let matches = clap::App::new("VKR server") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::AppSettings::ColoredHelp`: This is now the default [INFO] [stdout] --> src/main.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | .setting(clap::AppSettings::ColoredHelp) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | .arg(clap::Arg::with_name("root") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | .arg(clap::Arg::with_name("index") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | .arg(clap::Arg::with_name("upload") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | .arg(clap::Arg::with_name("redirect").long("redirect") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | .arg(clap::Arg::with_name("nosort") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | .arg(clap::Arg::with_name("nocache") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | .arg(clap::Arg::with_name("norange") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | .arg(clap::Arg::with_name("cert") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | .arg(clap::Arg::with_name("cors") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | .arg(clap::Arg::with_name("certpass"). [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | .arg(clap::Arg::with_name("upload_size_limit") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | .arg(clap::Arg::with_name("ip") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | .arg(clap::Arg::with_name("port") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | .arg(clap::Arg::with_name("threads") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | .arg(clap::Arg::with_name("try-file-404") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | .arg(clap::Arg::with_name("silent") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stdout] --> src/main.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | .arg(clap::Arg::with_name("open") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_red` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let color_red = Some(build_spec(Some(Color::Red), false)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let time = FileTime::from_last_modification_time(&metadata); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_modified_since` [INFO] [stdout] --> src/main.rs:954:55 [INFO] [stdout] | [INFO] [stdout] 954 | if let Some(&IfModifiedSince(HttpDate(ref if_modified_since))) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_modified_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | let mut range = req.headers.get::(); [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: associated function `new` is never used [INFO] [stdout] --> src/middlewares/auth.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthChecker { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(s: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "babb5f64ff8547792a74d40a9c4ee1895dcd0c3b657c7f90d0f80e2208cd425c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babb5f64ff8547792a74d40a9c4ee1895dcd0c3b657c7f90d0f80e2208cd425c", kill_on_drop: false }` [INFO] [stdout] babb5f64ff8547792a74d40a9c4ee1895dcd0c3b657c7f90d0f80e2208cd425c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85efa25b8d61f45164f2e3ccafc9ddd80ad3ba828721098d6a08dfb336ec5c51 [INFO] running `Command { std: "docker" "start" "-a" "85efa25b8d61f45164f2e3ccafc9ddd80ad3ba828721098d6a08dfb336ec5c51", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AcceptEncoding`, `ContentEncoding`, `Encoding`, and `QualityItem` [INFO] [stderr] --> src/main.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | use iron::headers::{AcceptEncoding, ContentEncoding, Encoding, QualityItem}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::Time` [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use time::Time; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AuthChecker` and `CompressionHandler` [INFO] [stderr] --> src/main.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | use middlewares::{AuthChecker, CompressionHandler, RequestLogger}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ETag`, `EntityTag`, `IfMatch`, and `IfRange` [INFO] [stderr] --> src/main.rs:832:26 [INFO] [stderr] | [INFO] [stderr] 832 | ContentType, ETag, EntityTag, IfMatch, IfRange, Range, RangeUnit, [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LastModified` [INFO] [stderr] --> src/main.rs:835:70 [INFO] [stderr] | [INFO] [stderr] 835 | CacheControl, CacheDirective, HttpDate, IfModifiedSince, LastModified, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stderr] --> src/main.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | let matches = clap::App::new("VKR server") [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `clap::AppSettings::ColoredHelp`: This is now the default [INFO] [stderr] --> src/main.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | .setting(clap::AppSettings::ColoredHelp) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | .arg(clap::Arg::with_name("root") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | .arg(clap::Arg::with_name("index") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | .arg(clap::Arg::with_name("upload") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | .arg(clap::Arg::with_name("redirect").long("redirect") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | .arg(clap::Arg::with_name("nosort") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | .arg(clap::Arg::with_name("nocache") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | .arg(clap::Arg::with_name("norange") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | .arg(clap::Arg::with_name("cert") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:106:25 [INFO] [stderr] | [INFO] [stderr] 106 | .arg(clap::Arg::with_name("cors") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:109:25 [INFO] [stderr] | [INFO] [stderr] 109 | .arg(clap::Arg::with_name("certpass"). [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:113:25 [INFO] [stderr] | [INFO] [stderr] 113 | .arg(clap::Arg::with_name("upload_size_limit") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | .arg(clap::Arg::with_name("ip") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | .arg(clap::Arg::with_name("port") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:148:25 [INFO] [stderr] | [INFO] [stderr] 148 | .arg(clap::Arg::with_name("threads") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | .arg(clap::Arg::with_name("try-file-404") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:180:25 [INFO] [stderr] | [INFO] [stderr] 180 | .arg(clap::Arg::with_name("silent") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `clap::Arg::<'help>::with_name`: Replaced with `Arg::new` [INFO] [stderr] --> src/main.rs:185:25 [INFO] [stderr] | [INFO] [stderr] 185 | .arg(clap::Arg::with_name("open") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_red` [INFO] [stderr] --> src/main.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | let color_red = Some(build_spec(Some(Color::Red), false)); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_red` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/main.rs:843:13 [INFO] [stderr] | [INFO] [stderr] 843 | let time = FileTime::from_last_modification_time(&metadata); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `if_modified_since` [INFO] [stderr] --> src/main.rs:954:55 [INFO] [stderr] | [INFO] [stderr] 954 | if let Some(&IfModifiedSince(HttpDate(ref if_modified_since))) = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_modified_since` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:867:25 [INFO] [stderr] | [INFO] [stderr] 867 | let mut range = req.headers.get::(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/middlewares/auth.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl AuthChecker { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 12 | pub fn new(s: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `VKTServer` (bin "VKTServer" test) generated 29 warnings (run `cargo fix --bin "VKTServer" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/VKTServer-9c71077dc6203805) [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" "85efa25b8d61f45164f2e3ccafc9ddd80ad3ba828721098d6a08dfb336ec5c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85efa25b8d61f45164f2e3ccafc9ddd80ad3ba828721098d6a08dfb336ec5c51", kill_on_drop: false }` [INFO] [stdout] 85efa25b8d61f45164f2e3ccafc9ddd80ad3ba828721098d6a08dfb336ec5c51