[INFO] fetching crate rusqbin 0.2.3... [INFO] testing rusqbin-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rusqbin 0.2.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rusqbin 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusqbin 0.2.3 [INFO] finished tweaking crates.io crate rusqbin 0.2.3 [INFO] tweaked toml for crates.io crate rusqbin 0.2.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc03ec768a7cbc371b8eb1a427b9dfbb84bcc7f7fe5611ad3bddbe2a8f2c479e [INFO] running `Command { std: "docker" "start" "-a" "cc03ec768a7cbc371b8eb1a427b9dfbb84bcc7f7fe5611ad3bddbe2a8f2c479e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc03ec768a7cbc371b8eb1a427b9dfbb84bcc7f7fe5611ad3bddbe2a8f2c479e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc03ec768a7cbc371b8eb1a427b9dfbb84bcc7f7fe5611ad3bddbe2a8f2c479e", kill_on_drop: false }` [INFO] [stdout] cc03ec768a7cbc371b8eb1a427b9dfbb84bcc7f7fe5611ad3bddbe2a8f2c479e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5850c2776951e9867731dd76496200664f768e7abb6bd18518145d85def63c8 [INFO] running `Command { std: "docker" "start" "-a" "e5850c2776951e9867731dd76496200664f768e7abb6bd18518145d85def63c8", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling rusqbin v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/server.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new((self.insert_request(req))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - Box::new((self.insert_request(req))) [INFO] [stdout] 97 + Box::new(self.insert_request(req)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - ) -> Box> { [INFO] [stdout] 119 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - ) -> Box> { [INFO] [stdout] 288 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 370 - fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 370 + fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 382 - fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 382 + fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] 230 + fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] 109 + fn cause(&self) -> Option<&dyn StdErr> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let result_future: Box> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - let result_future: Box> = { [INFO] [stdout] 80 + let result_future: Box> = { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 315 - let future_body: Box, Error = errors::Error>> = [INFO] [stdout] 315 + let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | &AddressParsingErr(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | &JsonEncodingError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | &IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | &RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | &UrlParseError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | &ServerError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | fn inner_main() -> Result<(), 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn inner_main() -> Result<(), Box> { [INFO] [stdout] 45 + fn inner_main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] 77 + fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.62s [INFO] running `Command { std: "docker" "inspect" "e5850c2776951e9867731dd76496200664f768e7abb6bd18518145d85def63c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5850c2776951e9867731dd76496200664f768e7abb6bd18518145d85def63c8", kill_on_drop: false }` [INFO] [stdout] e5850c2776951e9867731dd76496200664f768e7abb6bd18518145d85def63c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19aa3c50dca18f1ce600cf55b671bc746c4d7c88d8cbb5adbd5ef7bbbd35f48a [INFO] running `Command { std: "docker" "start" "-a" "19aa3c50dca18f1ce600cf55b671bc746c4d7c88d8cbb5adbd5ef7bbbd35f48a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/server.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new((self.insert_request(req))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - Box::new((self.insert_request(req))) [INFO] [stdout] 97 + Box::new(self.insert_request(req)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - ) -> Box> { [INFO] [stdout] 119 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - ) -> Box> { [INFO] [stdout] 288 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 370 - fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 370 + fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 382 - fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 382 + fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] 230 + fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] 109 + fn cause(&self) -> Option<&dyn StdErr> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let result_future: Box> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - let result_future: Box> = { [INFO] [stdout] 80 + let result_future: Box> = { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 315 - let future_body: Box, Error = errors::Error>> = [INFO] [stdout] 315 + let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | &AddressParsingErr(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | &JsonEncodingError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | &IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | &RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | &UrlParseError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | &ServerError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusqbin v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | fn inner_main() -> Result<(), 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn inner_main() -> Result<(), Box> { [INFO] [stdout] 45 + fn inner_main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] 77 + fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | static PORT_NUM: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn read_to_string(resp: Response) -> 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - pub fn read_to_string(resp: Response) -> Box> { [INFO] [stdout] 199 + pub fn read_to_string(resp: Response) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] 206 + pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] 73 + pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:82:78 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] 82 + pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/server.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new((self.insert_request(req))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - Box::new((self.insert_request(req))) [INFO] [stdout] 97 + Box::new(self.insert_request(req)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] 90 + pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:99:81 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] 99 + pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/common/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | static PORT_NUM: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn read_to_string(resp: Response) -> 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - pub fn read_to_string(resp: Response) -> Box> { [INFO] [stdout] 199 + pub fn read_to_string(resp: Response) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] 206 + pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] 73 + pub fn create_bin(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:82:78 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] 82 + pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] 90 + pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/common/mod.rs:99:81 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] 99 + pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stdout] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stdout] 35 | | }; [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - ) -> Box> { [INFO] [stdout] 119 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 - ) -> Box> { [INFO] [stdout] 288 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 370 - fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 370 + fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 382 - fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] 382 + fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - type Future = Box>; [INFO] [stdout] 76 + type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] 230 + fn insert_request(&self, req: Request) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - fn cause(&self) -> Option<&StdErr> { [INFO] [stdout] 109 + fn cause(&self) -> Option<&dyn StdErr> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let result_future: Box> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - let result_future: Box> = { [INFO] [stdout] 80 + let result_future: Box> = { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 315 - let future_body: Box, Error = errors::Error>> = [INFO] [stdout] 315 + let future_body: Box, Error = errors::Error>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | &AddressParsingErr(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | &JsonEncodingError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | &IOError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | &RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | &UrlParseError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | &ServerError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.46s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusqbin-137eb8070fac335a) [INFO] [stderr] Executable tests/end_to_end_integration_tests.rs (/opt/rustwide/target/debug/deps/end_to_end_integration_tests-f68194c247e76be5) [INFO] [stderr] Executable tests/internal_integration_tests.rs (/opt/rustwide/target/debug/deps/internal_integration_tests-d1b166a5847393f4) [INFO] running `Command { std: "docker" "inspect" "19aa3c50dca18f1ce600cf55b671bc746c4d7c88d8cbb5adbd5ef7bbbd35f48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19aa3c50dca18f1ce600cf55b671bc746c4d7c88d8cbb5adbd5ef7bbbd35f48a", kill_on_drop: false }` [INFO] [stdout] 19aa3c50dca18f1ce600cf55b671bc746c4d7c88d8cbb5adbd5ef7bbbd35f48a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c85d0ec27f8c07eec1c5ba9dcea544ef7391da5a52613e71d4b61e4c8acafbad [INFO] running `Command { std: "docker" "start" "-a" "c85d0ec27f8c07eec1c5ba9dcea544ef7391da5a52613e71d4b61e4c8acafbad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/server.rs:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | Box::new((self.insert_request(req))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 97 - Box::new((self.insert_request(req))) [INFO] [stderr] 97 + Box::new(self.insert_request(req)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/server.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / lazy_static! { [INFO] [stderr] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stderr] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stderr] 35 | | }; [INFO] [stderr] ... | [INFO] [stderr] 38 | | }; [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/server.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / lazy_static! { [INFO] [stderr] 33 | | static ref BIN_SUMMARY_PATH_REGEXP: Regex = { [INFO] [stderr] 34 | | Regex::new(r"/rusqbins/((?i)[A-F0-9]{8}\-[A-F0-9]{4}\-4[A-F0-9]{3}\-[89AB][A-F0-9]{3}\-[A-F0-9]{12})$").unwrap() [INFO] [stderr] 35 | | }; [INFO] [stderr] ... | [INFO] [stderr] 38 | | }; [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 119 - ) -> Box> { [INFO] [stderr] 119 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:288:10 [INFO] [stderr] | [INFO] [stderr] 288 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 288 - ) -> Box> { [INFO] [stderr] 288 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:370:40 [INFO] [stderr] | [INFO] [stderr] 370 | fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 370 - fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stderr] 370 + fn read_to_string(req: Request) -> Box, Error = Error>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:382:39 [INFO] [stderr] | [INFO] [stderr] 382 | fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 382 - fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stderr] 382 + fn read_to_bytes(req: Request) -> Box, Error = Error>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:76:23 [INFO] [stderr] | [INFO] [stderr] 76 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - type Future = Box>; [INFO] [stderr] 76 + type Future = Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:230:51 [INFO] [stderr] | [INFO] [stderr] 230 | fn insert_request(&self, req: Request) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 230 - fn insert_request(&self, req: Request) -> Box> { [INFO] [stderr] 230 + fn insert_request(&self, req: Request) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:109:32 [INFO] [stderr] | [INFO] [stderr] 109 | fn cause(&self) -> Option<&StdErr> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 109 - fn cause(&self) -> Option<&StdErr> { [INFO] [stderr] 109 + fn cause(&self) -> Option<&dyn StdErr> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:80:32 [INFO] [stderr] | [INFO] [stderr] 80 | let result_future: Box> = { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 80 - let result_future: Box> = { [INFO] [stderr] 80 + let result_future: Box> = { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:315:26 [INFO] [stderr] | [INFO] [stderr] 315 | let future_body: Box, Error = errors::Error>> = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 315 - let future_body: Box, Error = errors::Error>> = [INFO] [stderr] 315 + let future_body: Box, Error = errors::Error>> = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:100:44 [INFO] [stderr] | [INFO] [stderr] 100 | &AddressParsingErr(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:101:44 [INFO] [stderr] | [INFO] [stderr] 101 | &JsonEncodingError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:102:34 [INFO] [stderr] | [INFO] [stderr] 102 | &IOError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | &RegexError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:104:40 [INFO] [stderr] | [INFO] [stderr] 104 | &UrlParseError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | &ServerError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusqbin` (lib) generated 18 warnings [INFO] [stderr] warning: `rusqbin` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tests/common/mod.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> tests/common/mod.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | static PORT_NUM: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:199:46 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn read_to_string(resp: Response) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 - pub fn read_to_string(resp: Response) -> Box> { [INFO] [stderr] 199 + pub fn read_to_string(resp: Response) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:206:45 [INFO] [stderr] | [INFO] [stderr] 206 | pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 206 - pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stderr] 206 + pub fn read_to_bytes(resp: Response) -> Box, Error = TestingError>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:73:60 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn create_bin(&mut self) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - pub fn create_bin(&mut self) -> Result> { [INFO] [stderr] 73 + pub fn create_bin(&mut self) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:82:78 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 - pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] 82 + pub fn get_bin_summary(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:90:67 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 90 - pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] 90 + pub fn delete_bin(&mut self, bin_id: &Id) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/common/mod.rs:99:81 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stderr] 99 + pub fn get_bin_requests(&mut self, bin_id: &Id) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | fn inner_main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - fn inner_main() -> Result<(), Box> { [INFO] [stderr] 45 + fn inner_main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:77:46 [INFO] [stderr] | [INFO] [stderr] 77 | fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stderr] 77 + fn start_on_port(p: usize) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rusqbin` (test "end_to_end_integration_tests") generated 8 warnings [INFO] [stderr] warning: `rusqbin` (test "internal_integration_tests") generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `rusqbin` (bin "rusqbin") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusqbin-137eb8070fac335a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test models::tests::test_id_json_encoding_decoding ... ok [INFO] [stdout] test storage::tests::test_inmemory_bin_creation ... ok [INFO] [stdout] test storage::tests::test_inmemory_get_bin_summaries ... ok [INFO] [stdout] test storage::tests::test_inmemory_get_bin ... ok [INFO] [stdout] test storage::tests::test_inmemory_bin_deletion ... ok [INFO] [stdout] test storage::tests::test_inmemory_get_bin_summary ... ok [INFO] [stdout] test models::tests::test_idextractor_instantiation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/end_to_end_integration_tests.rs (/opt/rustwide/target/debug/deps/end_to_end_integration_tests-f68194c247e76be5) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_start_and_stop ... ok [INFO] [stdout] test test_deleting_non_existing_bin ... ok [INFO] [stdout] test test_list_empty ... ok [INFO] [stdout] test test_creating_bin ... ok [INFO] [stdout] test test_getting_non_existent_bin ... ok [INFO] [stdout] test test_deleting_existing_bin ... ok [INFO] [stdout] test test_requesting_bin_requests ... ok [INFO] [stdout] test test_requesting_bin_summary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] [stderr] Running tests/internal_integration_tests.rs (/opt/rustwide/target/debug/deps/internal_integration_tests-d1b166a5847393f4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_list_empty ... ok [INFO] [stdout] test test_creating_bin ... ok [INFO] [stdout] test test_deleting_existing_bin ... ok [INFO] [stdout] test test_requesting_bin_requests ... ok [INFO] [stdout] test test_requesting_bin_summary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s [INFO] [stdout] [INFO] [stderr] Doc-tests rusqbin [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/server.rs:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | Box::new((self.insert_request(req))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 97 - Box::new((self.insert_request(req))) [INFO] [stderr] 97 + Box::new(self.insert_request(req)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/models.rs - models::IdExtractor::new (line 73) ... ok [INFO] [stdout] test src/models.rs - models::Id (line 32) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c85d0ec27f8c07eec1c5ba9dcea544ef7391da5a52613e71d4b61e4c8acafbad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85d0ec27f8c07eec1c5ba9dcea544ef7391da5a52613e71d4b61e4c8acafbad", kill_on_drop: false }` [INFO] [stdout] c85d0ec27f8c07eec1c5ba9dcea544ef7391da5a52613e71d4b61e4c8acafbad