[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2FSimpleWebServer" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrionProg/SimpleWebServer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-24/source/Cargo.toml [INFO] crate git repo https://github.com/TrionProg/SimpleWebServer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded copyless v0.1.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded actix-router v0.1.5 [INFO] [stderr] Downloaded socket2 v0.3.8 [INFO] [stderr] Downloaded actix-web-codegen v0.1.3 [INFO] [stderr] Downloaded actix-connect v0.2.5 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded ctrlc v3.1.2 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded backtrace v0.3.15 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded actix-service v0.4.2 [INFO] [stderr] Downloaded mime v0.3.13 [INFO] [stderr] Downloaded tokio-reactor v0.1.9 [INFO] [stderr] Downloaded winutil v0.1.1 [INFO] [stderr] Downloaded tokio-udp v0.1.3 [INFO] [stderr] Downloaded resolv-conf v0.6.2 [INFO] [stderr] Downloaded httparse v1.3.3 [INFO] [stderr] Downloaded actix-server-config v0.1.2 [INFO] [stderr] Downloaded miniz_oxide v0.2.1 [INFO] [stderr] Downloaded actix-web v1.0.8 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.1 [INFO] [stderr] Downloaded string v0.2.0 [INFO] [stderr] Downloaded actix-server v0.6.1 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded actix-testing v0.1.0 [INFO] [stderr] Downloaded signal-hook v0.1.9 [INFO] [stderr] Downloaded actix-rt v0.2.5 [INFO] [stderr] Downloaded tokio-signal v0.2.7 [INFO] [stderr] Downloaded actix-multipart v0.1.4 [INFO] [stderr] Downloaded env_logger v0.6.1 [INFO] [stderr] Downloaded regex v1.1.5 [INFO] [stderr] Downloaded actix-utils v0.4.7 [INFO] [stderr] Downloaded ipconfig v0.2.1 [INFO] [stderr] Downloaded tokio-openssl v0.3.0 [INFO] [stderr] Downloaded arc-swap v0.3.9 [INFO] [stderr] Downloaded actix-codec v0.1.2 [INFO] [stderr] Downloaded tokio-current-thread v0.1.6 [INFO] [stderr] Downloaded tokio-tcp v0.1.3 [INFO] [stderr] Downloaded nix v0.13.0 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded openssl v0.10.25 [INFO] [stderr] Downloaded openssl-sys v0.9.52 [INFO] [stderr] Downloaded tokio-timer v0.2.10 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded encoding_rs v0.8.20 [INFO] [stderr] Downloaded trust-dns-resolver v0.11.1 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded cc v1.0.34 [INFO] [stderr] Downloaded signal-hook-registry v1.0.1 [INFO] [stderr] Downloaded vcpkg v0.2.7 [INFO] [stderr] Downloaded unicase v2.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.53 [INFO] [stderr] Downloaded serial_test_derive v0.2.0 [INFO] [stderr] Downloaded awc v0.2.7 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded miniz-sys v0.1.11 [INFO] [stderr] Downloaded http v0.1.17 [INFO] [stderr] Downloaded actix-threadpool v0.1.2 [INFO] [stderr] Downloaded actix-http v0.2.10 [INFO] [stderr] Downloaded string v0.1.3 [INFO] [stderr] Downloaded flate2 v1.0.7 [INFO] [stderr] Downloaded indexmap v1.0.2 [INFO] [stderr] Downloaded tokio-sync v0.1.4 [INFO] [stderr] Downloaded enum-as-inner v0.2.1 [INFO] [stderr] Downloaded trust-dns-proto v0.7.3 [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded tokio-codec v0.1.1 [INFO] [stderr] Downloaded tokio-executor v0.1.7 [INFO] [stderr] Downloaded derive_more v0.15.0 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded serial_test v0.2.0 [INFO] [stderr] Downloaded serde v1.0.90 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded twoway v0.2.0 [INFO] [stderr] Downloaded h2 v0.1.17 [INFO] [stderr] Downloaded hostname v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2d26a2170e1ab3ae6e5ec335ffe198d43b471f93876727fc4f37f658a776bca [INFO] running `Command { std: "docker" "start" "-a" "a2d26a2170e1ab3ae6e5ec335ffe198d43b471f93876727fc4f37f658a776bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d26a2170e1ab3ae6e5ec335ffe198d43b471f93876727fc4f37f658a776bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d26a2170e1ab3ae6e5ec335ffe198d43b471f93876727fc4f37f658a776bca", kill_on_drop: false }` [INFO] [stdout] a2d26a2170e1ab3ae6e5ec335ffe198d43b471f93876727fc4f37f658a776bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23bc7cd968d0ac1c264a71bffe553a6cb5a3804d5b9af2fa9be9140099e7b88 [INFO] running `Command { std: "docker" "start" "-a" "b23bc7cd968d0ac1c264a71bffe553a6cb5a3804d5b9af2fa9be9140099e7b88", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling arc-swap v0.3.9 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling opencv_sys v0.1.0 (/opt/rustwide/workdir/opencv_sys) [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.3 [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 unicode-normalization v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling rand v0.7.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] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling twoway v0.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling tokio-io v0.1.12 [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 mio-uds v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [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 mime v0.3.13 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling url v2.1.0 [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 h2 v0.1.17 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling ctrlc v3.1.2 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [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 failure_derive v0.1.5 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.3 [INFO] [stderr] Compiling opencv v0.1.0 (/opt/rustwide/workdir/opencv) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Can not create an image")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Can not open an image \"{}\"", path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[fail(display = "Can not save an image \"{}\"", path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> opencv/src/errors.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[fail(display = "Can not resize an image")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> opencv/src/image.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::CanNotResizeImage` [INFO] [stdout] --> opencv/src/image.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::CanNotResizeImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> opencv/src/image.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let error = unsafe{opencv_sys::error::cvGetErrStatus()}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> opencv/src/image.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 41 | opencv_sys::image::cvLoadImage(CString::new(path).unwrap().as_ptr(), 1) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> opencv/src/image.rs:59:72 [INFO] [stdout] | [INFO] [stdout] 59 | opencv_sys::image::cvSaveImage(CString::new(path).unwrap().as_ptr(), self.mat, 0 as *const c_int) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling actix-multipart v0.1.4 [INFO] [stderr] Compiling image_api v0.1.0 (/opt/rustwide/workdir/image_api) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Text is not valid base64")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Text is not valid UTF-8")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[fail(display = "Text is not valid URL")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[fail(display = "Can not create image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[fail(display = "Can not write image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "Can not read image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[fail(display = "Unsupported image format, supported:Png, Jpeg")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[fail(display = "Can not parse \"{}\" as number", string)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> image_api/src/errors.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[fail(display = "Can not download by given URL \"{}\" error: \"{}\"", url, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Async`, `Poll`, `future` [INFO] [stdout] --> image_api/src/image_api.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future, Future, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientRequest`, `ClientResponse` [INFO] [stdout] --> image_api/src/image_api.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::client::{ClientResponse, ClientRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> image_api/src/image_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> image_api/src/image_api.rs:209:120 [INFO] [stdout] | [INFO] [stdout] 209 | ... Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from((number_string)) ))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from((number_string)) ))) [INFO] [stdout] 209 + Err(_) => return Either::B(err(err_msg( CanNotParseAsNumberError::from(number_string) ))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:48:72 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] 48 + pub fn put_image(self_ref:ImageApiRef, image:PutImageInput) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] 71 + fn upload_image(self_ref:ImageApiRef, content:Vec) -> Box> {// + Send + 'static [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:245:62 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] 245 + pub fn get_image(self_ref:ImageApiRef, name:&str) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> image_api/src/image_api.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 - pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] 269 + pub fn get_images_list(self_ref:ImageApiRef) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> image_api/src/image_api.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut file = match fs::File::open(file_path.as_str()) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> image_api/src/image_api.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future, Future, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> image_api/src/image_api.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | Some((format, content_base64)) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> image_api/src/image_api.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | let (a, b) = text.split_at("data:image/png;base64,".len()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> image_api/src/image_api.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let (a, b) = text.split_at("data:image/jpeg;base64,".len()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> image_api/src/image_api.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Err(e) => Either::B(err(err_msg(TextNotBase64Error))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> image_api/src/image_api.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | ... Err(e) => Either::B(err(err_msg("can not read body"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> image_api/src/image_api.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | ... Ok(len) => content_length=1000000, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> image_api/src/image_api.rs:218:38 [INFO] [stdout] | [INFO] [stdout] 218 | ... Some(format) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_ref` [INFO] [stdout] --> image_api/src/image_api.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | fn load_image(self_ref:ImageApiRef, name:&str) -> impl Future, Error = Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> image_api/src/image_api.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = match fs::File::create(file_path) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple_web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[fail(display = "Text is not valid base64")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[fail(display = "Text is not valid UTF-8")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[fail(display = "Text is not valid URL")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[fail(display = "Can not create image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[fail(display = "Can not write image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "Can not read image file \"{}\" error: \"{}\"", path, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[fail(display = "Unsupported image format, supported:Png, Jpeg")] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[fail(display = "Can not parse \"{}\" as number", string)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/errors.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[fail(display = "Can not download by given URL \"{}\" error: \"{}\"", url, error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | #[derive(Debug, Fail, Clone)] [INFO] [stdout] | ---- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultipartError` [INFO] [stdout] --> src/image_app.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_multipart::{Field, Multipart, MultipartError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware` [INFO] [stdout] --> src/image_app.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, middleware, web, App, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoFuture` [INFO] [stdout] --> src/image_app.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::{err, ok, Either, IntoFuture}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `MultipartError`, `Multipart` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use actix_multipart::{Field, Multipart, MultipartError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `HttpResponse`, `error` [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Either`, `err` [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::future::{err, Either}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/main.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - ) -> Box> { [INFO] [stdout] 33 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:217:56 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] 217 + pub fn show_image(app: web::Data) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/image_app.rs:232:73 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 - pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] 232 + pub fn get_image(req: HttpRequest, app: web::Data) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / ctrlc::set_handler(move || { [INFO] [stdout] 87 | | match main_tx.send(ToMainMessage::CtrlC) { [INFO] [stdout] 88 | | Ok(_) => {}, [INFO] [stdout] 89 | | Err(e) => {} [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | server_addr.stop(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | thread_join_handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.simple_web_server.79df56e1-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30.55ds0cjabu430s8.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-df6df24531c5d5a2/out" "-L" "/opt/rustwide/target/debug/build/brotli-sys-61d4350d41a9ee2e/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-1589a257f867b10f/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libctrlc-693288448bddad64.rlib" "/opt/rustwide/target/debug/deps/libnix-69c010cb2c21ed77.rlib" "/opt/rustwide/target/debug/deps/libvoid-daee20f73a082eaf.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-aa6dc6e3caa1af55.rlib" "/opt/rustwide/target/debug/deps/libatty-24851536858bd666.rlib" "/opt/rustwide/target/debug/deps/libhumantime-ecd91a2ade384498.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-b31ce5529e5fa5ff.rlib" "/opt/rustwide/target/debug/deps/libimage_api-a62bc5f318fb1a35.rlib" "/opt/rustwide/target/debug/deps/libopencv-158af70e1d67d11e.rlib" "/opt/rustwide/target/debug/deps/libopencv_sys-9d5309ab49fa855d.rlib" "/opt/rustwide/target/debug/deps/libactix_multipart-abf22c5fae780b02.rlib" "/opt/rustwide/target/debug/deps/libtwoway-6088700c7a8a100b.rlib" "/opt/rustwide/target/debug/deps/libunchecked_index-0456193053a25788.rlib" "/opt/rustwide/target/debug/deps/libactix_web-875077e02f078ff0.rlib" "/opt/rustwide/target/debug/deps/libawc-f7da87c506b34a58.rlib" "/opt/rustwide/target/debug/deps/libactix_testing-2d948ad30ffda3b9.rlib" "/opt/rustwide/target/debug/deps/libactix_server-25a0ccb968220974.rlib" "/opt/rustwide/target/debug/deps/libtokio_signal-7d57870fbddd5abd.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook-18a10aefc82d8abf.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-8ebd6544e76bffa9.rlib" "/opt/rustwide/target/debug/deps/libarc_swap-803c4e62bf9f7dca.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-9447313326737a7c.rlib" "/opt/rustwide/target/debug/deps/libactix_router-74aefcdff61dea8f.rlib" "/opt/rustwide/target/debug/deps/libstring-6e6064c7464778bc.rlib" "/opt/rustwide/target/debug/deps/libactix_http-82114d20eb01feaa.rlib" "/opt/rustwide/target/debug/deps/libsha1-22acf16d9b98920a.rlib" "/opt/rustwide/target/debug/deps/libbase64-af4f6d29ed43dff2.rlib" "/opt/rustwide/target/debug/deps/librand-0a19e730ee522167.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-0114de39e4243c6a.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-dc4834a2215419b3.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-2f15d43c81c2fd8d.rlib" "/opt/rustwide/target/debug/deps/librand_core-1e096c8a55ceac61.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-b300b1b888a001ea.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-9e9794616fceb145.rlib" "/opt/rustwide/target/debug/deps/liburl-6f18d851eee25bfe.rlib" "/opt/rustwide/target/debug/deps/libidna-0efc6b03fb218360.rlib" "/opt/rustwide/target/debug/deps/libdtoa-f04668caa2b0aa59.rlib" "/opt/rustwide/target/debug/deps/libhttparse-2ee177e246000396.rlib" "/opt/rustwide/target/debug/deps/libchrono-250cafe479512b96.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-03d7ffaffa6aecd2.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-04872b4f83592f1a.rlib" "/opt/rustwide/target/debug/deps/libserde_json-ecaac3f66f8321eb.rlib" "/opt/rustwide/target/debug/deps/libryu-60de7040588ce18e.rlib" "/opt/rustwide/target/debug/deps/libserde-882f33d104c28173.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-9b6ca126925d6359.rlib" "/opt/rustwide/target/debug/deps/libregex-d8ba7547f0448b47.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-816ebe3e42c7b558.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-2130dd55f8474840.rlib" "/opt/rustwide/target/debug/deps/libucd_util-a4979d015fb59822.rlib" "/opt/rustwide/target/debug/deps/libthread_local-03c33df2e93ed024.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-39007775982aeab0.rlib" "/opt/rustwide/target/debug/deps/libmemchr-bef04848b0a1c72c.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-f9a4078c62cb020a.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-1a1983d2d4a49459.rlib" "/opt/rustwide/target/debug/deps/libmime-994bdb9eb018c367.rlib" "/opt/rustwide/target/debug/deps/libunicase-df22f00767e77b60.rlib" "/opt/rustwide/target/debug/deps/libflate2-874b7d3a8124ea1f.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-77dfce9f91eee9a3.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-bc5fe410a74a0292.rlib" "/opt/rustwide/target/debug/deps/libbrotli2-39bd5072999dc8e8.rlib" "/opt/rustwide/target/debug/deps/libbrotli_sys-bc910f056e090077.rlib" "/opt/rustwide/target/debug/deps/libtime-d883c82ccd02c7b9.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-ada3699e1f1008eb.rlib" "/opt/rustwide/target/debug/deps/libactix_utils-c9d1de7633cf245d.rlib" "/opt/rustwide/target/debug/deps/libactix_connect-9ed9862c32445878.rlib" "/opt/rustwide/target/debug/deps/libactix_rt-b4a81f17b2d106a0.rlib" "/opt/rustwide/target/debug/deps/libactix_threadpool-a9a6f67152d50049.rlib" "/opt/rustwide/target/debug/deps/libthreadpool-9a1571eddba303b6.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-3484e00487ead43a.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-968600bf6d50494c.rlib" "/opt/rustwide/target/debug/deps/liblock_api-6d00d720b26a1d83.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-33588de92d8906ee.rlib" "/opt/rustwide/target/debug/deps/libcopyless-f066dc573c612fbf.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-71b103fbd8c4a2e8.rlib" "/opt/rustwide/target/debug/deps/libtokio_openssl-323fa027c01a3883.rlib" "/opt/rustwide/target/debug/deps/libopenssl-1d48badd8087e3a0.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-a1e7b156eae8937b.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-df0e58a4f0a4cf2f.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-a92bffa6dfc6160f.rlib" "/opt/rustwide/target/debug/deps/libbitflags-0987f7eb4066015f.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-1d7bb025a50fa0ee.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-d57d67bc9f476e95.rlib" "/opt/rustwide/target/debug/deps/liburl-f589dba8ef1e3849.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-5467954df82172e2.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-6421787221bd2378.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-18ae07bd2c1d2d77.rlib" "/opt/rustwide/target/debug/deps/libsocket2-818171eef87f7774.rlib" "/opt/rustwide/target/debug/deps/libidna-d91557371fdbb687.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9a68e02de28f56e7.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-502fc641a5064811.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec882efcf894febd.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-be3f76ee0bbadc6f.rlib" "/opt/rustwide/target/debug/deps/libhostname-feece92eaaa37924.rlib" "/opt/rustwide/target/debug/deps/libquick_error-10f197e702ac1341.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-0b5dd9ff9011d9f3.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-77c2518e88ecb1f7.rlib" "/opt/rustwide/target/debug/deps/libfailure-301140b9c6906809.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-51a492f82e323677.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-3dad84a93b03eaf3.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-4504423a9f74be95.rlib" "/opt/rustwide/target/debug/deps/libeither-448e776efe8979bd.rlib" "/opt/rustwide/target/debug/deps/libh2-9d48072c6eea2b0a.rlib" "/opt/rustwide/target/debug/deps/libindexmap-22b8bc15385edb84.rlib" "/opt/rustwide/target/debug/deps/libstring-a1bf2b347d40ee27.rlib" "/opt/rustwide/target/debug/deps/libhttp-cd9447c35c0c5e79.rlib" "/opt/rustwide/target/debug/deps/libitoa-3ef0afce6033b448.rlib" "/opt/rustwide/target/debug/deps/libactix_service-c8c49f016b803c91.rlib" "/opt/rustwide/target/debug/deps/libactix_server_config-f7e4ae2b64a761f6.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-ccada1681049bf46.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-ac3cfa3e46489e37.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-9d8ab706f286fdbd.rlib" "/opt/rustwide/target/debug/deps/libfnv-75a549072e1c1e97.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-645e9cd537a92e16.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-8de6c68ae874185f.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-40a11c9c611287a3.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-27feae3e258d31a1.rlib" "/opt/rustwide/target/debug/deps/librand-a58fc1771c7e4903.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-e0a7c00eca87c4d5.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-970a4505a75211f4.rlib" "/opt/rustwide/target/debug/deps/librand_hc-8211b28a7d1aaf85.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-89a4a8e76d031388.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-64577fdc7b603528.rlib" "/opt/rustwide/target/debug/deps/librand_core-c6ef584581674eea.rlib" "/opt/rustwide/target/debug/deps/librand_os-6a0a317b5255d400.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-3ed2cd9c9b8a2a4d.rlib" "/opt/rustwide/target/debug/deps/librand_core-691700391421dfa9.rlib" "/opt/rustwide/target/debug/deps/liblock_api-c7e220839ce6544b.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-1214d213485c2326.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-751ec9cd00fbe7b3.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-701b7c561205ac6c.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-ec1bffc232117cf2.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-7be4e1336f11766f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-8c70cbefadcc00fb.rlib" "/opt/rustwide/target/debug/deps/libmio-86c8f013baf59915.rlib" "/opt/rustwide/target/debug/deps/libslab-47832e98c319689d.rlib" "/opt/rustwide/target/debug/deps/libnet2-43af111881957242.rlib" "/opt/rustwide/target/debug/deps/libactix_codec-7b07db5d42637304.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-d314c0a225d27136.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-02fad274eade9688.rlib" "/opt/rustwide/target/debug/deps/libfutures-eaec737a9b34cdf4.rlib" "/opt/rustwide/target/debug/deps/libbytes-2e75103b660eb1b3.rlib" "/opt/rustwide/target/debug/deps/libiovec-e733cb0e6adea1ea.rlib" "/opt/rustwide/target/debug/deps/liblibc-6f8015d859df6a0e.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-ac0fca417c216564.rlib" "/opt/rustwide/target/debug/deps/liblog-de408b939e67c7dd.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-140921462b195c44.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.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.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_web_server-6b5e86599c4a8c30" "-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" "b23bc7cd968d0ac1c264a71bffe553a6cb5a3804d5b9af2fa9be9140099e7b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23bc7cd968d0ac1c264a71bffe553a6cb5a3804d5b9af2fa9be9140099e7b88", kill_on_drop: false }` [INFO] [stdout] b23bc7cd968d0ac1c264a71bffe553a6cb5a3804d5b9af2fa9be9140099e7b88