[INFO] cloning repository https://github.com/TrionProg/SimpleWebServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TrionProg/SimpleWebServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f92fa8625161e649064f9839519ce196a3dd28f3 [INFO] testing TrionProg/SimpleWebServer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrionProg/SimpleWebServer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TrionProg/SimpleWebServer [INFO] finished tweaking git repo https://github.com/TrionProg/SimpleWebServer [INFO] tweaked toml for git repo https://github.com/TrionProg/SimpleWebServer written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/TrionProg/SimpleWebServer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb23c419d210cd8444054bb152de2c9e53e5ad8e5c72fb28091691c67ec6350 [INFO] running `Command { std: "docker" "start" "-a" "ecb23c419d210cd8444054bb152de2c9e53e5ad8e5c72fb28091691c67ec6350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb23c419d210cd8444054bb152de2c9e53e5ad8e5c72fb28091691c67ec6350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb23c419d210cd8444054bb152de2c9e53e5ad8e5c72fb28091691c67ec6350", kill_on_drop: false }` [INFO] [stdout] ecb23c419d210cd8444054bb152de2c9e53e5ad8e5c72fb28091691c67ec6350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae90a8114bd6de7bcb5e5e3252204793391ede492a90f9f5ab8c83f69851b81e [INFO] running `Command { std: "docker" "start" "-a" "ae90a8114bd6de7bcb5e5e3252204793391ede492a90f9f5ab8c83f69851b81e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling arc-swap v0.3.9 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling opencv_sys v0.1.0 (/opt/rustwide/workdir/opencv_sys) [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stdout] warning: unused imports: `c_char`, `c_void`, `size_t` [INFO] [stdout] --> opencv_sys/src/error.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{c_void, c_char, size_t, c_int}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `size_t` [INFO] [stdout] --> opencv_sys/src/image.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void, c_char, size_t, c_int}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling twoway v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ctrlc v3.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling tokio-openssl v0.3.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.3 [INFO] [stderr] Compiling opencv v0.1.0 (/opt/rustwide/workdir/opencv) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Can not create an image")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Can not open an image \"{}\"", path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[fail(display = "Can not save an image \"{}\"", path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[fail(display = "Can not resize an image")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> opencv/src/image.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::CanNotResizeImage` [INFO] [stdout] --> opencv/src/image.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::CanNotResizeImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [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: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> opencv/src/image.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 41 | opencv_sys::image::cvLoadImage(CString::new(path).unwrap().as_ptr(), 1) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> opencv/src/image.rs:59:72 [INFO] [stdout] | [INFO] [stdout] 59 | opencv_sys::image::cvSaveImage(CString::new(path).unwrap().as_ptr(), self.mat, 0 as *const c_int) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling actix-multipart v0.1.4 [INFO] [stderr] Compiling image_api v0.1.0 (/opt/rustwide/workdir/image_api) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Text is not valid base64")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Text is not valid UTF-8")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[fail(display = "Text is not valid URL")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[fail(display = "Can not create image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[fail(display = "Can not write image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "Can not read image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[fail(display = "Unsupported image format, supported:Png, Jpeg")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[fail(display = "Can not parse \"{}\" as number", string)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[fail(display = "Can not download by given URL \"{}\" error: \"{}\"", url, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Async`, `Poll`, `future` [INFO] [stdout] --> image_api/src/image_api.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future, Future, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientRequest`, `ClientResponse` [INFO] [stdout] --> image_api/src/image_api.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::client::{ClientResponse, ClientRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> image_api/src/image_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> image_api/src/image_api.rs:209:120 [INFO] [stdout] | [INFO] [stdout] 209 | ... Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from((number_string)) ))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from((number_string)) ))) [INFO] [stdout] 209 + Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from(number_string) ))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] 48 + pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] 71 + fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:245:62 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] 245 + pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 - pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] 269 + pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> image_api/src/image_api.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut file = match fs::File::open(file_path.as_str()) { [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: unused import: `Stream` [INFO] [stdout] --> image_api/src/image_api.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future, Future, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> image_api/src/image_api.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | Some((format, content_base64)) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> image_api/src/image_api.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | let (a, b) = text.split_at("data:image/png;base64,".len()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> image_api/src/image_api.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let (a, b) = text.split_at("data:image/jpeg;base64,".len()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> image_api/src/image_api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Err(e) => Either::B(err(err_msg(TextNotBase64Error))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> image_api/src/image_api.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | ... Err(e) => Either::B(err(err_msg("can not read body"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> image_api/src/image_api.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | ... Ok(len) => content_length=1000000, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> image_api/src/image_api.rs:218:38 [INFO] [stdout] | [INFO] [stdout] 218 | ... Some(format) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_ref` [INFO] [stdout] --> image_api/src/image_api.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | fn load_image(self_ref:ImageApiRef, name:&str) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> image_api/src/image_api.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = match fs::File::create(file_path) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple_web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Text is not valid base64")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Text is not valid UTF-8")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[fail(display = "Text is not valid URL")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[fail(display = "Can not create image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[fail(display = "Can not write image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "Can not read image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[fail(display = "Unsupported image format, supported:Png, Jpeg")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[fail(display = "Can not parse \"{}\" as number", string)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[fail(display = "Can not download by given URL \"{}\" error: \"{}\"", url, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultipartError` [INFO] [stdout] --> src/image_app.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_multipart::{Field, Multipart, MultipartError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware` [INFO] [stdout] --> src/image_app.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, middleware, web, App, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoFuture` [INFO] [stdout] --> src/image_app.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::{err, ok, Either, IntoFuture}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `MultipartError`, `Multipart` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use actix_multipart::{Field, Multipart, MultipartError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `HttpResponse`, `error` [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `err` [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::future::{err, Either}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - ) -> Box> { [INFO] [stdout] 33 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:217:56 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] 217 + pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:232:73 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 - pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] 232 + pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / ctrlc::set_handler(move || { [INFO] [stdout] 87 | | match main_tx.send(ToMainMessage::CtrlC) { [INFO] [stdout] 88 | | Ok(_) => {}, [INFO] [stdout] 89 | | Err(e) => {} [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | server_addr.stop(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | thread_join_handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.simple_web_server.80718c99-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d.2jh6aubshro0psg1.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-ca188600f14c768e/out" "-L" "/opt/rustwide/target/debug/build/brotli-sys-2a88cb1bb56bdebf/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-cb7557c9259b449c/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libctrlc-87d822287ff159ff.rlib" "/opt/rustwide/target/debug/deps/libnix-73181d867fbe8d3c.rlib" "/opt/rustwide/target/debug/deps/libvoid-fc8910124e59282b.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-ea485c36db5da825.rlib" "/opt/rustwide/target/debug/deps/libatty-b3a3c0636aa41cac.rlib" "/opt/rustwide/target/debug/deps/libhumantime-c279506a91b1ccc6.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-24e1ae8b24909985.rlib" "/opt/rustwide/target/debug/deps/libimage_api-809b5420018b9176.rlib" "/opt/rustwide/target/debug/deps/libopencv-11d6a86604259420.rlib" "/opt/rustwide/target/debug/deps/libopencv_sys-fdb1d003d001c2b5.rlib" "/opt/rustwide/target/debug/deps/libactix_multipart-b4047e3b023f4e3c.rlib" "/opt/rustwide/target/debug/deps/libtwoway-c717277eb2ba1654.rlib" "/opt/rustwide/target/debug/deps/libunchecked_index-7714292d3d8d23ac.rlib" "/opt/rustwide/target/debug/deps/libactix_web-ec72655428a5e4d1.rlib" "/opt/rustwide/target/debug/deps/libawc-db4a9d815de17279.rlib" "/opt/rustwide/target/debug/deps/libactix_testing-cd58c3de64355b19.rlib" "/opt/rustwide/target/debug/deps/libactix_server-d6dd5266badc5b23.rlib" "/opt/rustwide/target/debug/deps/libtokio_signal-da08cc2540285492.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook-68d6a350cf3502e2.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-753172bdb7e6582e.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-c4dadb39877ff5ab.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-e74a688bf43f0a0a.rlib" "/opt/rustwide/target/debug/deps/libactix_router-6b740941794d4aa0.rlib" "/opt/rustwide/target/debug/deps/libstring-5fe107cad22d904a.rlib" "/opt/rustwide/target/debug/deps/libactix_http-001c17a79d918be2.rlib" "/opt/rustwide/target/debug/deps/libsha1-fe0bff6a1469592d.rlib" "/opt/rustwide/target/debug/deps/libbase64-4b41526d3f3d2fc5.rlib" "/opt/rustwide/target/debug/deps/librand-69a173f8f4491b20.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-053799e34c65e967.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-b9d25c9770310197.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-c9cfe2b9093d2c5a.rlib" "/opt/rustwide/target/debug/deps/librand_core-43f77691d61fb936.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-394aba46b70620ca.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-b62482649fcd955c.rlib" "/opt/rustwide/target/debug/deps/liburl-6e3285560ae5cbda.rlib" "/opt/rustwide/target/debug/deps/libidna-eee38758cb50f874.rlib" "/opt/rustwide/target/debug/deps/libdtoa-ad4218119ab57c07.rlib" "/opt/rustwide/target/debug/deps/libhttparse-909de8f812b5d0db.rlib" "/opt/rustwide/target/debug/deps/libchrono-2fc8bd35aa9d54ef.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ce3e7c9f6d9e972c.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-eeb4a36b6f52d8e8.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0f704ffd5f1687c8.rlib" "/opt/rustwide/target/debug/deps/libryu-3885e61aeb97370e.rlib" "/opt/rustwide/target/debug/deps/libserde-9772df72338009b5.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-720491f1b737741c.rlib" "/opt/rustwide/target/debug/deps/libregex-37bee850994ae188.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-c7c7d73be5df8ba5.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-297916aab71a2357.rlib" "/opt/rustwide/target/debug/deps/libucd_util-211cda4359852344.rlib" "/opt/rustwide/target/debug/deps/libthread_local-d29d2012ee184d34.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-dd0d11dfae53d6bb.rlib" "/opt/rustwide/target/debug/deps/libmemchr-0aa180510fb5aaee.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-66706a840c6b3f9e.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-8c83310236959ef9.rlib" "/opt/rustwide/target/debug/deps/libmime-f441a2604a02fe3c.rlib" "/opt/rustwide/target/debug/deps/libunicase-044781909dd11c14.rlib" "/opt/rustwide/target/debug/deps/libflate2-e12d94f63de3844a.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-05bb6ad02f578145.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-7da46b8a41f62668.rlib" "/opt/rustwide/target/debug/deps/libbrotli2-208cafc0c2c5913a.rlib" "/opt/rustwide/target/debug/deps/libbrotli_sys-47ed6df82ea4c46b.rlib" "/opt/rustwide/target/debug/deps/libtime-1cf15b0c60022a91.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-67125b8d2ef96406.rlib" "/opt/rustwide/target/debug/deps/libactix_utils-9971ceeeb396145d.rlib" "/opt/rustwide/target/debug/deps/libactix_connect-05aa6615ccdd2740.rlib" "/opt/rustwide/target/debug/deps/libactix_rt-b283bbd7bc60ca83.rlib" "/opt/rustwide/target/debug/deps/libactix_threadpool-431aca75b2c3ed8a.rlib" "/opt/rustwide/target/debug/deps/libthreadpool-093852c49fbd792f.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-881551135c94f4ab.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-021fb2883449a2d5.rlib" "/opt/rustwide/target/debug/deps/liblock_api-f92581db7a386f36.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-d89edd6b5dde0279.rlib" "/opt/rustwide/target/debug/deps/libcopyless-50bf03064300bef3.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-58288d295f615e47.rlib" "/opt/rustwide/target/debug/deps/libtokio_openssl-ecf08fa63f4b1be7.rlib" "/opt/rustwide/target/debug/deps/libopenssl-7fd17089edfecbd2.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-838cc7e89b8e1284.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-3138d685ddde873e.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-1df85ef0ce08cbc3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-ae31849ad3bb30df.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-f03d4e5c2704d287.rlib" "/opt/rustwide/target/debug/deps/liburl-08f0cde6203842d2.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-0cdbfd229bde0fb2.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-e88c29e3e7fe954d.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-5f835eb83266a273.rlib" "/opt/rustwide/target/debug/deps/libsocket2-acab1bc21638d6d0.rlib" "/opt/rustwide/target/debug/deps/libidna-4cf27ac22703b666.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-b37233f9f239c366.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-7ac4b89f889ff88f.rlib" "/opt/rustwide/target/debug/deps/libmatches-efe3d8804af1a290.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-faa70ff3d9275b16.rlib" "/opt/rustwide/target/debug/deps/libhostname-0a5f9fcddd52c13a.rlib" "/opt/rustwide/target/debug/deps/libquick_error-bbca79884f64fc4c.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-af346cfadd276c1c.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-1ab29bfdbfbe72ac.rlib" "/opt/rustwide/target/debug/deps/libfailure-f065ff98ea94d852.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-1766bff2ee28dbf7.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-ebb3857b45bdc97e.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-670b834755174511.rlib" "/opt/rustwide/target/debug/deps/libeither-16e8576ee806f155.rlib" "/opt/rustwide/target/debug/deps/libh2-11683b4956184144.rlib" "/opt/rustwide/target/debug/deps/libindexmap-c56e03b6d933a479.rlib" "/opt/rustwide/target/debug/deps/libstring-ebd8883c4492013b.rlib" "/opt/rustwide/target/debug/deps/libhttp-3ec4193bff526b0f.rlib" "/opt/rustwide/target/debug/deps/libitoa-3fcba51b14786bdb.rlib" "/opt/rustwide/target/debug/deps/libactix_service-ea350a812696871f.rlib" "/opt/rustwide/target/debug/deps/libactix_server_config-8beb83366f6d7f88.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-35b9f1062b4ce9f0.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-c444a99d4dff07d9.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-6256c416a0ca68b8.rlib" "/opt/rustwide/target/debug/deps/libfnv-3b027f9af76441c8.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-8d4e955374d303f8.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-8388e257576a8e25.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-3a874fb6afe95a20.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-3c1a1d8ddcd2eedc.rlib" "/opt/rustwide/target/debug/deps/librand-5cedef624df0d853.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-77606af54bbbbcc4.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-1153fa4edf5dfede.rlib" "/opt/rustwide/target/debug/deps/librand_hc-1d269308525f4b6f.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-f9c9b2628298a32a.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-db35b97212c0da34.rlib" "/opt/rustwide/target/debug/deps/librand_core-f8c892ef9c68230d.rlib" "/opt/rustwide/target/debug/deps/librand_os-4308eeb8d228b791.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-ffda9987c5853265.rlib" "/opt/rustwide/target/debug/deps/librand_core-83a6dba49af4e27f.rlib" "/opt/rustwide/target/debug/deps/liblock_api-d63734161be8245f.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-7e31377806f322d0.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-78be7f1f9af1dad8.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-e684db5076eedc3e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-c497e45dd4a28d93.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f94f742a39e224b7.rlib" "/opt/rustwide/target/debug/deps/libmio-377ae79a113ef24e.rlib" "/opt/rustwide/target/debug/deps/libslab-ee0db592f9db8068.rlib" "/opt/rustwide/target/debug/deps/libnet2-76149445a201485b.rlib" "/opt/rustwide/target/debug/deps/libactix_codec-4d687df1af1b0041.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-40cce2ff0ecf0998.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-b105352e27f9189d.rlib" "/opt/rustwide/target/debug/deps/libfutures-47fa39838d13c9f2.rlib" "/opt/rustwide/target/debug/deps/libbytes-d94bfc48565a27bb.rlib" "/opt/rustwide/target/debug/deps/libiovec-abf574574be2b345.rlib" "/opt/rustwide/target/debug/deps/liblibc-580d1aa2eb43e3f9.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-5b6dcbe3115f0573.rlib" "/opt/rustwide/target/debug/deps/liblog-d9f402977850d385.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-e826ee23819dcb20.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-ltarget/debug/opencv_world340" "-lssl" "-lcrypto" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_web_server-6ecabc08b55d8a8d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -ltarget/debug/opencv_world340 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_web_server` due to 2 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae90a8114bd6de7bcb5e5e3252204793391ede492a90f9f5ab8c83f69851b81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae90a8114bd6de7bcb5e5e3252204793391ede492a90f9f5ab8c83f69851b81e", kill_on_drop: false }` [INFO] [stdout] ae90a8114bd6de7bcb5e5e3252204793391ede492a90f9f5ab8c83f69851b81e