[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrionProg/SimpleWebServer on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-46/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-service v0.4.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.11.1 [INFO] [stderr] Downloaded derive_more v0.15.0 [INFO] [stderr] Downloaded actix-threadpool v0.1.2 [INFO] [stderr] Downloaded actix-server v0.6.1 [INFO] [stderr] Downloaded tokio-openssl v0.3.0 [INFO] [stderr] Downloaded actix-server-config v0.1.2 [INFO] [stderr] Downloaded enum-as-inner v0.2.1 [INFO] [stderr] Downloaded actix-codec v0.1.2 [INFO] [stderr] Downloaded ctrlc v3.1.2 [INFO] [stderr] Downloaded actix-router v0.1.5 [INFO] [stderr] Downloaded actix-utils v0.4.7 [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded tokio-sync v0.1.4 [INFO] [stderr] Downloaded string v0.2.0 [INFO] [stderr] Downloaded actix-web v1.0.8 [INFO] [stderr] Downloaded openssl-sys v0.9.52 [INFO] [stderr] Downloaded actix-rt v0.2.5 [INFO] [stderr] Downloaded actix-multipart v0.1.4 [INFO] [stderr] Downloaded h2 v0.1.17 [INFO] [stderr] Downloaded serial_test_derive v0.2.0 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded trust-dns-proto v0.7.3 [INFO] [stderr] Downloaded arc-swap v0.3.9 [INFO] [stderr] Downloaded awc v0.2.7 [INFO] [stderr] Downloaded actix-http v0.2.10 [INFO] [stderr] Downloaded encoding_rs v0.8.20 [INFO] [stderr] Downloaded regex v1.1.5 [INFO] [stderr] Downloaded vcpkg v0.2.7 [INFO] [stderr] Downloaded redox_syscall v0.1.53 [INFO] [stderr] Downloaded openssl v0.10.25 [INFO] [stderr] Downloaded actix-web-codegen v0.1.3 [INFO] [stderr] Downloaded twoway v0.2.0 [INFO] [stderr] Downloaded actix-testing v0.1.0 [INFO] [stderr] Downloaded cc v1.0.34 [INFO] [stderr] Downloaded serial_test v0.2.0 [INFO] [stderr] Downloaded actix-connect v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d2721434d21b86a8d5b0e47581c9f89cee4d737bf85ded21f6688f09d936187 [INFO] running `Command { std: "docker" "start" "-a" "6d2721434d21b86a8d5b0e47581c9f89cee4d737bf85ded21f6688f09d936187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d2721434d21b86a8d5b0e47581c9f89cee4d737bf85ded21f6688f09d936187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d2721434d21b86a8d5b0e47581c9f89cee4d737bf85ded21f6688f09d936187", kill_on_drop: false }` [INFO] [stdout] 6d2721434d21b86a8d5b0e47581c9f89cee4d737bf85ded21f6688f09d936187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad51f5b43729893c335a39605def8c3dd9acf83c2405afd972c12cab2784cc91 [INFO] running `Command { std: "docker" "start" "-a" "ad51f5b43729893c335a39605def8c3dd9acf83c2405afd972c12cab2784cc91", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [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 matches v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling arc-swap v0.3.9 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 backtrace v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling twoway v0.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling opencv_sys v0.1.0 (/opt/rustwide/workdir/opencv_sys) [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v1.0.2 [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] [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 resolv-conf v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand_chacha v0.2.1 [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 tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [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 actix-server-config v0.1.2 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling ctrlc v3.1.2 [INFO] [stderr] Compiling tokio-openssl v0.3.0 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 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 image_api v0.1.0 (/opt/rustwide/workdir/image_api) [INFO] [stderr] Compiling actix-multipart v0.1.4 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [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:245:62 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [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: 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-087aec0cf61aa769.simple_web_server.11debdcb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.simple_web_server.11debdcb-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769.gkdh8kb4ffsrmrs.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-8a6076c9b6955f38/out" "-L" "/opt/rustwide/target/debug/build/brotli-sys-c01957cf85c041db/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-5c93fb3936feeaef/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libctrlc-0bbeb25098ea0916.rlib" "/opt/rustwide/target/debug/deps/libnix-d0d702c516914596.rlib" "/opt/rustwide/target/debug/deps/libvoid-908b01a274af8ae5.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-f1de9cdbb2af81e0.rlib" "/opt/rustwide/target/debug/deps/libatty-75a4817c2be08d1a.rlib" "/opt/rustwide/target/debug/deps/libhumantime-b865abc5b19fb1c6.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-606fb3677bb52f25.rlib" "/opt/rustwide/target/debug/deps/libimage_api-78159add0428d052.rlib" "/opt/rustwide/target/debug/deps/libopencv-6c2c1d088afb5dbc.rlib" "/opt/rustwide/target/debug/deps/libopencv_sys-c24a7b5681c5129d.rlib" "/opt/rustwide/target/debug/deps/libactix_multipart-889380761ada19fd.rlib" "/opt/rustwide/target/debug/deps/libtwoway-4ab2ed35184f0fa6.rlib" "/opt/rustwide/target/debug/deps/libunchecked_index-a0d585fcf23cc292.rlib" "/opt/rustwide/target/debug/deps/libactix_web-fce06a69828cc749.rlib" "/opt/rustwide/target/debug/deps/libawc-8649e36484519068.rlib" "/opt/rustwide/target/debug/deps/libactix_testing-12bcda52ef20419c.rlib" "/opt/rustwide/target/debug/deps/libactix_server-6e984dd67f28166f.rlib" "/opt/rustwide/target/debug/deps/libtokio_signal-465848564ed1965d.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook-89c8c1c6827033d9.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-43ad32cb459e7047.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-d340900e4898c95d.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-94219a9340dedcfd.rlib" "/opt/rustwide/target/debug/deps/libactix_router-4a0a151458d2ee05.rlib" "/opt/rustwide/target/debug/deps/libstring-4a3fb3f1cd31967b.rlib" "/opt/rustwide/target/debug/deps/libactix_http-3d2505b00f60bd84.rlib" "/opt/rustwide/target/debug/deps/libsha1-b913d53b1b7c425f.rlib" "/opt/rustwide/target/debug/deps/libbase64-2cd2217645365dbc.rlib" "/opt/rustwide/target/debug/deps/librand-4de643e87a4bcc1c.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-f2eaebff63fc9966.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-2df5d520349bfdd5.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-f718162676277fd2.rlib" "/opt/rustwide/target/debug/deps/librand_core-662844b5ab7b1bc4.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-2e2d2f34779d92d3.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-b30212424ca391c0.rlib" "/opt/rustwide/target/debug/deps/liburl-cb4b6ff747eba62b.rlib" "/opt/rustwide/target/debug/deps/libidna-f1877c74031c8394.rlib" "/opt/rustwide/target/debug/deps/libdtoa-d7bbb6b1042d1b33.rlib" "/opt/rustwide/target/debug/deps/libhttparse-6351043a40156eb4.rlib" "/opt/rustwide/target/debug/deps/libchrono-ad2539b8592197a8.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-0e6527445253b0f8.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-154037fed179a526.rlib" "/opt/rustwide/target/debug/deps/libserde_json-f5c1a34828d5f40d.rlib" "/opt/rustwide/target/debug/deps/libryu-15b6ba5feaf4bf0a.rlib" "/opt/rustwide/target/debug/deps/libserde-7693c22d00f58108.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-e72b43770a773d33.rlib" "/opt/rustwide/target/debug/deps/libregex-3e03d5e6d322c61a.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-0a6668032f28c853.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-3e94a7c5537e3047.rlib" "/opt/rustwide/target/debug/deps/libucd_util-3cc94c66ff24300e.rlib" "/opt/rustwide/target/debug/deps/libthread_local-0bf60bf4cdf1b7ba.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-912e9880ccea5c58.rlib" "/opt/rustwide/target/debug/deps/libmemchr-83b5d58227d28aa7.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-2657e2513e136c93.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-b196e1663297fef1.rlib" "/opt/rustwide/target/debug/deps/libmime-865168e03f42c378.rlib" "/opt/rustwide/target/debug/deps/libunicase-75e77ad4200e26b8.rlib" "/opt/rustwide/target/debug/deps/libflate2-9a06349b1ad505f8.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-8e744a653ba2b48d.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-8d6666d19e70a3e8.rlib" "/opt/rustwide/target/debug/deps/libbrotli2-d9098f68830edff9.rlib" "/opt/rustwide/target/debug/deps/libbrotli_sys-44a8c571b798e73b.rlib" "/opt/rustwide/target/debug/deps/libtime-404729030e7ffa78.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-9e2029e9ec56e1ee.rlib" "/opt/rustwide/target/debug/deps/libactix_utils-10a0c79bdd6235d8.rlib" "/opt/rustwide/target/debug/deps/libactix_connect-85211796f48dca2b.rlib" "/opt/rustwide/target/debug/deps/libactix_rt-88679f4c1bdf00b6.rlib" "/opt/rustwide/target/debug/deps/libactix_threadpool-273b9d3cb833af30.rlib" "/opt/rustwide/target/debug/deps/libthreadpool-780a3e29a1684844.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-76af056b0ac1766b.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-9883fc343e37eac5.rlib" "/opt/rustwide/target/debug/deps/liblock_api-dd9049dae62fb4b9.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-b0d6578ff8168bec.rlib" "/opt/rustwide/target/debug/deps/libcopyless-cc360bbcf1f4eb80.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-cbf8584f5bddc7fe.rlib" "/opt/rustwide/target/debug/deps/libtokio_openssl-82fa4750026f4622.rlib" "/opt/rustwide/target/debug/deps/libopenssl-ad580781cbae1ad2.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-8c033a8826042516.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-46b9b5ebdcb273c8.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-ecd28e6fe5f7182e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-257fd09b908c4179.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-f9c92db096b68503.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-cff5396b2f09e6d2.rlib" "/opt/rustwide/target/debug/deps/liburl-3d4929df72b85bbc.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-84a1398baa7dc952.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-af8b1dfbd7efa97e.rlib" "/opt/rustwide/target/debug/deps/libsocket2-0f176dd6b2548870.rlib" "/opt/rustwide/target/debug/deps/libidna-ad8046bdb63905b7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-a416e85ec172bd33.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-1186c837a9f5b632.rlib" "/opt/rustwide/target/debug/deps/libmatches-4395ae20fe1f12ba.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-5ff824e3ff91f670.rlib" "/opt/rustwide/target/debug/deps/libhostname-853c6bbc0053d923.rlib" "/opt/rustwide/target/debug/deps/libquick_error-63d061bf0c7acb92.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-7f3450f38b9e289a.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-8ac6dcb1f6e5a1f9.rlib" "/opt/rustwide/target/debug/deps/libfailure-a8cdc695e6b53d07.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-a7354f4467383922.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-9ca0ab277105afb9.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-a0f4b13d22be9d3d.rlib" "/opt/rustwide/target/debug/deps/libeither-148ea9f628139a35.rlib" "/opt/rustwide/target/debug/deps/libh2-36e4ed587b485261.rlib" "/opt/rustwide/target/debug/deps/libindexmap-f2724af625df818e.rlib" "/opt/rustwide/target/debug/deps/libstring-5f517eae3fbb6a34.rlib" "/opt/rustwide/target/debug/deps/libhttp-d43fd9672ccf5148.rlib" "/opt/rustwide/target/debug/deps/libitoa-96ce37d5cfefc361.rlib" "/opt/rustwide/target/debug/deps/libactix_service-2bb88f648c305da6.rlib" "/opt/rustwide/target/debug/deps/libactix_server_config-b47972be8f77276c.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-48045090a917bc71.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-db71c76f1168d34f.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-2f75c90e09d18629.rlib" "/opt/rustwide/target/debug/deps/libfnv-8c5c165005b941da.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-b33e849e0e9de05e.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-cd1d7bf6b9641cd3.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-1eefa4a63061bb26.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-d453494ee8b80562.rlib" "/opt/rustwide/target/debug/deps/librand-fda4679ad982ba24.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-970991550c187f87.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-10b1ad9ff99f68e3.rlib" "/opt/rustwide/target/debug/deps/librand_hc-41127eeeefef1010.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-b7d5d8ccce348bc1.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-aeb3e6cd33b8e995.rlib" "/opt/rustwide/target/debug/deps/librand_core-54881814acc37a87.rlib" "/opt/rustwide/target/debug/deps/librand_os-57827538f49b9ad4.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-4f5192adc7cfc68e.rlib" "/opt/rustwide/target/debug/deps/librand_core-24b7ee40fd421f2e.rlib" "/opt/rustwide/target/debug/deps/liblock_api-9bf2d28427c12acf.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-ec1a30b5a9c8afc6.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-eea17b0cf09b3ccf.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-d1d942d3990dad6b.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-5a54ff9a1761530f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-40db3c223bf98124.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-deaeff8e79132040.rlib" "/opt/rustwide/target/debug/deps/libmio-3215e1df039ed977.rlib" "/opt/rustwide/target/debug/deps/libslab-ab98851c871a197f.rlib" "/opt/rustwide/target/debug/deps/libnet2-e92b86fc2923e8bb.rlib" "/opt/rustwide/target/debug/deps/libactix_codec-6a524ca98510e4a5.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-c5863cf297915390.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-c119644b9cb45139.rlib" "/opt/rustwide/target/debug/deps/libfutures-758fac1dc923a60e.rlib" "/opt/rustwide/target/debug/deps/libbytes-2e784292bdb14761.rlib" "/opt/rustwide/target/debug/deps/libiovec-ef419afaa5acbce6.rlib" "/opt/rustwide/target/debug/deps/liblibc-fefc363296dce0df.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-712ff8f83444d848.rlib" "/opt/rustwide/target/debug/deps/liblog-ddae5497df0c3a13.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc86aa381747737.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_web_server-087aec0cf61aa769" "-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" "ad51f5b43729893c335a39605def8c3dd9acf83c2405afd972c12cab2784cc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad51f5b43729893c335a39605def8c3dd9acf83c2405afd972c12cab2784cc91", kill_on_drop: false }` [INFO] [stdout] ad51f5b43729893c335a39605def8c3dd9acf83c2405afd972c12cab2784cc91