[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrionProg/SimpleWebServer on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-25/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 653768ab88464c4c5f34cb5a618b08896622c63b7ad396731fd280b530796332 [INFO] running `Command { std: "docker" "start" "-a" "653768ab88464c4c5f34cb5a618b08896622c63b7ad396731fd280b530796332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "653768ab88464c4c5f34cb5a618b08896622c63b7ad396731fd280b530796332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653768ab88464c4c5f34cb5a618b08896622c63b7ad396731fd280b530796332", kill_on_drop: false }` [INFO] [stdout] 653768ab88464c4c5f34cb5a618b08896622c63b7ad396731fd280b530796332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941e30ba2081720989d9adec2ee3d7b38c17e4d8bed4b05319a590323d3b3f6f [INFO] running `Command { std: "docker" "start" "-a" "941e30ba2081720989d9adec2ee3d7b38c17e4d8bed4b05319a590323d3b3f6f", 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 byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.30 [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 ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling arc-swap v0.3.9 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [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 log v0.4.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [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 backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling owning_ref v0.4.0 [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 tokio-executor v0.1.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling twoway v0.2.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.8 [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 url v1.7.2 [INFO] [stderr] Compiling base64 v0.10.1 [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling quote v0.6.11 [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 quote v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling actix-utils v0.4.7 [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 h2 v0.1.17 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling actix-server-config v0.1.2 [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 ctrlc v3.1.2 [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-connect v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [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: 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-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.simple_web_server.58d6f9ac-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461.299ne0fpc0o60vl8.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-736961f526e10d74/out" "-L" "/opt/rustwide/target/debug/build/brotli-sys-22393a090d6f2efe/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-583b705fd6443635/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libctrlc-93f20067902df27b.rlib" "/opt/rustwide/target/debug/deps/libnix-747784704d386372.rlib" "/opt/rustwide/target/debug/deps/libvoid-601034c5058ec8c7.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-f87d331e88da1b01.rlib" "/opt/rustwide/target/debug/deps/libatty-291a67b84504817a.rlib" "/opt/rustwide/target/debug/deps/libhumantime-a741055ac60d391b.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-61cd50c83fc5e045.rlib" "/opt/rustwide/target/debug/deps/libimage_api-bff03d6517b201b4.rlib" "/opt/rustwide/target/debug/deps/libopencv-fffa84bc0fb4776c.rlib" "/opt/rustwide/target/debug/deps/libopencv_sys-1125f0366bf3e421.rlib" "/opt/rustwide/target/debug/deps/libactix_multipart-52d66182e88f50d0.rlib" "/opt/rustwide/target/debug/deps/libtwoway-24decea25f946837.rlib" "/opt/rustwide/target/debug/deps/libunchecked_index-b7e1c13d7ac63f52.rlib" "/opt/rustwide/target/debug/deps/libactix_web-bef77b25ffa67ce1.rlib" "/opt/rustwide/target/debug/deps/libawc-6b97ffdadf56cefd.rlib" "/opt/rustwide/target/debug/deps/libactix_testing-c95e7aedc29b9058.rlib" "/opt/rustwide/target/debug/deps/libactix_server-95e5ae768de88c84.rlib" "/opt/rustwide/target/debug/deps/libtokio_signal-7f4e4fe6a79967cd.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook-8acd9a0c39acf64d.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-c06fea17d4725134.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-5cdc83851a8b2d60.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-659cf20b8be0886a.rlib" "/opt/rustwide/target/debug/deps/libactix_router-b609ac4033259cec.rlib" "/opt/rustwide/target/debug/deps/libstring-5f4beb450d63f6ec.rlib" "/opt/rustwide/target/debug/deps/libactix_http-d2a34a731d088835.rlib" "/opt/rustwide/target/debug/deps/libsha1-fdcaadcc3a2fedb2.rlib" "/opt/rustwide/target/debug/deps/libbase64-55d6e88185d63578.rlib" "/opt/rustwide/target/debug/deps/librand-fa79e7936b150605.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-9b0a224892e2f301.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-e3e2d9dbc712f0f2.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-a1c5ab7a10901790.rlib" "/opt/rustwide/target/debug/deps/librand_core-4c66181797b776af.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-21a7a180c583c4ee.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-6d75032f752586e9.rlib" "/opt/rustwide/target/debug/deps/liburl-2c942553fb2bbd83.rlib" "/opt/rustwide/target/debug/deps/libidna-847bd35cd193908c.rlib" "/opt/rustwide/target/debug/deps/libdtoa-e7de2be61a3e61c0.rlib" "/opt/rustwide/target/debug/deps/libhttparse-788237a29dfd6204.rlib" "/opt/rustwide/target/debug/deps/libchrono-4ceb57b5f57c71fe.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c58198ee440391d1.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-934b7a1d3337ce51.rlib" "/opt/rustwide/target/debug/deps/libserde_json-11a7ce5a9fbcc7aa.rlib" "/opt/rustwide/target/debug/deps/libryu-7fff25f15f35d445.rlib" "/opt/rustwide/target/debug/deps/libserde-c8067b9a21fa28af.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-607ceb835403527d.rlib" "/opt/rustwide/target/debug/deps/libregex-c4180fb43f3f6259.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-693d20357ff071f5.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-4682461d0b29a42f.rlib" "/opt/rustwide/target/debug/deps/libucd_util-b31a158e21ca430c.rlib" "/opt/rustwide/target/debug/deps/libthread_local-d453cdde9b7acde0.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-ee33cefeb155477d.rlib" "/opt/rustwide/target/debug/deps/libmemchr-de948e54357213d8.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-37f7d17139cd9425.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-32dd5c1ab5974210.rlib" "/opt/rustwide/target/debug/deps/libmime-cb63b2a9a62399de.rlib" "/opt/rustwide/target/debug/deps/libunicase-dea22179878eb458.rlib" "/opt/rustwide/target/debug/deps/libflate2-12991031b7da1867.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-354c4a3adf8f1308.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-3ec236c8e39f5b45.rlib" "/opt/rustwide/target/debug/deps/libbrotli2-06a3058fe5a3c38e.rlib" "/opt/rustwide/target/debug/deps/libbrotli_sys-a7538fe80e297dfd.rlib" "/opt/rustwide/target/debug/deps/libtime-fb476a66859e61d2.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-bf7e6d528f7049e1.rlib" "/opt/rustwide/target/debug/deps/libactix_utils-c532e1e9dc33f7de.rlib" "/opt/rustwide/target/debug/deps/libactix_connect-4cc73e21edb56f69.rlib" "/opt/rustwide/target/debug/deps/libactix_rt-600c396235e94cd4.rlib" "/opt/rustwide/target/debug/deps/libactix_threadpool-4b73c1a86a3869b2.rlib" "/opt/rustwide/target/debug/deps/libthreadpool-0e6e44b93af66472.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-e57fea229ce78e95.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-5c4a73055fc42fc7.rlib" "/opt/rustwide/target/debug/deps/liblock_api-579365d6aa7d2036.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ea7abb20b98e2822.rlib" "/opt/rustwide/target/debug/deps/libcopyless-d9667f17e97656d5.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-44a01c29c1bfac2a.rlib" "/opt/rustwide/target/debug/deps/libtokio_openssl-21c55ad849c5d63e.rlib" "/opt/rustwide/target/debug/deps/libopenssl-6c6b7c4c0c612e2b.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-b07f1080561ac434.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-e7016572aae82e2a.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-9ed4d3efdde6e3fc.rlib" "/opt/rustwide/target/debug/deps/libbitflags-8b0d0379c177ef18.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-5103d2ae39171d4c.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-cefa8ca9703c2dd0.rlib" "/opt/rustwide/target/debug/deps/liburl-502bca55c491de60.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-a5414215aa73ce68.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-71c1cca8d0a56519.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-f52281d44d90741c.rlib" "/opt/rustwide/target/debug/deps/libsocket2-e0fb648b668456ab.rlib" "/opt/rustwide/target/debug/deps/libidna-6b8c04fc3ad3f4d2.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-6622741af6ea741b.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-fbe957e6f985f3bf.rlib" "/opt/rustwide/target/debug/deps/libmatches-794dc2bc143388e6.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-5e365e7fc3317f72.rlib" "/opt/rustwide/target/debug/deps/libhostname-5296057706faa5ad.rlib" "/opt/rustwide/target/debug/deps/libquick_error-51b41fc19f31c3a4.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-5f63f390a9917172.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-7a3789704aa95dde.rlib" "/opt/rustwide/target/debug/deps/libfailure-db39871fac5012c9.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-7f031e6b983015e6.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-fd0f744e875546a7.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-dfa838ce4e695d13.rlib" "/opt/rustwide/target/debug/deps/libeither-3f1071bfa6a9593f.rlib" "/opt/rustwide/target/debug/deps/libh2-f4ea7168cfb1ab4e.rlib" "/opt/rustwide/target/debug/deps/libindexmap-77f9ad5a63871370.rlib" "/opt/rustwide/target/debug/deps/libstring-23bad05b3101743c.rlib" "/opt/rustwide/target/debug/deps/libhttp-d823f8d1f7360013.rlib" "/opt/rustwide/target/debug/deps/libitoa-dd0e0fd0bfe4e35a.rlib" "/opt/rustwide/target/debug/deps/libactix_service-433d7ea787397db0.rlib" "/opt/rustwide/target/debug/deps/libactix_server_config-a65cee1ceba51b35.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-921d7d1ac62d4202.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-1a01a1fcb2839c96.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-f259d49d2e5732bd.rlib" "/opt/rustwide/target/debug/deps/libfnv-80ed2aac042641d7.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-bb1a0e34a1890ad9.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-15457b4d397e2a30.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-dda6d13ba06915a4.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-21c5f597e9a40028.rlib" "/opt/rustwide/target/debug/deps/librand-7642088f9ae06568.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-932e31a3f64a6245.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-e028d691da8405ff.rlib" "/opt/rustwide/target/debug/deps/librand_hc-5b31a994f01453bf.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-0e4ebf2922c5ddb6.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-2d7cc6894a08ecfe.rlib" "/opt/rustwide/target/debug/deps/librand_core-6b5321fbe8a5977f.rlib" "/opt/rustwide/target/debug/deps/librand_os-df42109422a0e283.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-fb5ee7355cba3021.rlib" "/opt/rustwide/target/debug/deps/librand_core-c923b538a014a2a0.rlib" "/opt/rustwide/target/debug/deps/liblock_api-b928fde88579906e.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-96198fa42b00eac4.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-bcd7e61987b13e66.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-2802a6bcce05c759.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-4b6fa7ce46bdb462.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-dd32acb706cc7d98.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-4e28c3bebfc36a25.rlib" "/opt/rustwide/target/debug/deps/libmio-636df9e6d3474da6.rlib" "/opt/rustwide/target/debug/deps/libslab-d80887537af7a894.rlib" "/opt/rustwide/target/debug/deps/libnet2-937712b5d8736046.rlib" "/opt/rustwide/target/debug/deps/libactix_codec-b2d1ad3da337de94.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-b03d72073cdc71ba.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-e6fe5ed7add3299b.rlib" "/opt/rustwide/target/debug/deps/libfutures-2a2eac88708838a3.rlib" "/opt/rustwide/target/debug/deps/libbytes-67f614da86c95859.rlib" "/opt/rustwide/target/debug/deps/libiovec-e2ce5ee8aa5e0545.rlib" "/opt/rustwide/target/debug/deps/liblibc-714a54a1fab28a1b.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-ac9eb326b327d743.rlib" "/opt/rustwide/target/debug/deps/liblog-88eab2d4afc27d35.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-08aef8b886b4454e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.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/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_web_server-bb7a1c6a47227461" "-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" "941e30ba2081720989d9adec2ee3d7b38c17e4d8bed4b05319a590323d3b3f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941e30ba2081720989d9adec2ee3d7b38c17e4d8bed4b05319a590323d3b3f6f", kill_on_drop: false }` [INFO] [stdout] 941e30ba2081720989d9adec2ee3d7b38c17e4d8bed4b05319a590323d3b3f6f