[INFO] cloning repository https://github.com/rustgbg/rustgbg-web-quickstart [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustgbg/rustgbg-web-quickstart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustgbg%2Frustgbg-web-quickstart", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustgbg%2Frustgbg-web-quickstart'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f3e38234f82a940b3eb8f1ebd7944993c98366b [INFO] building rustgbg/rustgbg-web-quickstart against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustgbg%2Frustgbg-web-quickstart" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustgbg/rustgbg-web-quickstart on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rustgbg/rustgbg-web-quickstart [INFO] finished tweaking git repo https://github.com/rustgbg/rustgbg-web-quickstart [INFO] tweaked toml for git repo https://github.com/rustgbg/rustgbg-web-quickstart written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/rustgbg/rustgbg-web-quickstart already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8af8d8df15fcf0ee7ce14c927205f3b32bbdbc39fec053293f73a4dd517a6598 [INFO] running `Command { std: "docker" "start" "-a" "8af8d8df15fcf0ee7ce14c927205f3b32bbdbc39fec053293f73a4dd517a6598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8af8d8df15fcf0ee7ce14c927205f3b32bbdbc39fec053293f73a4dd517a6598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af8d8df15fcf0ee7ce14c927205f3b32bbdbc39fec053293f73a4dd517a6598", kill_on_drop: false }` [INFO] [stdout] 8af8d8df15fcf0ee7ce14c927205f3b32bbdbc39fec053293f73a4dd517a6598 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada2b69ccc4ee19a8f1a9b0f23ac7679ba94828cc7fcb13fb6d7ad7076c51b96 [INFO] running `Command { std: "docker" "start" "-a" "ada2b69ccc4ee19a8f1a9b0f23ac7679ba94828cc7fcb13fb6d7ad7076c51b96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling resolv-conf v0.6.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling actix-web v0.7.8 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-epoch v0.6.0 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.5 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling serde_json v1.0.30 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-signal v0.2.5 [INFO] [stderr] Compiling trust-dns-proto v0.4.0 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling actix v0.7.4 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling rustgbg-web-quickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, `http::StatusCode` [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | use actix_web::{server, App, http::Method, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `Started` [INFO] [stdout] --> src/main.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/get.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_example((path, state): (Path<(String,)>, State)) -> 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] 30 - pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stdout] 30 + pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/post.rs:51:87 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn post_example((msg, state): (Json, State)) -> 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] 51 - pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stdout] 51 + pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Middleware` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.3, rustgbg-web-quickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ada2b69ccc4ee19a8f1a9b0f23ac7679ba94828cc7fcb13fb6d7ad7076c51b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada2b69ccc4ee19a8f1a9b0f23ac7679ba94828cc7fcb13fb6d7ad7076c51b96", kill_on_drop: false }` [INFO] [stdout] ada2b69ccc4ee19a8f1a9b0f23ac7679ba94828cc7fcb13fb6d7ad7076c51b96 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bc2cfc669b39181a5ef9b390f21c092b359525231111a9ae7b2029c45969e4e [INFO] running `Command { std: "docker" "start" "-a" "3bc2cfc669b39181a5ef9b390f21c092b359525231111a9ae7b2029c45969e4e", kill_on_drop: false }` [INFO] [stderr] Compiling rustgbg-web-quickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, `http::StatusCode` [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | use actix_web::{server, App, http::Method, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `Started` [INFO] [stdout] --> src/main.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/get.rs:30:85 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_example((path, state): (Path<(String,)>, State)) -> 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] 30 - pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stdout] 30 + pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/post.rs:51:87 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn post_example((msg, state): (Json, State)) -> 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] 51 - pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stdout] 51 + pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Middleware` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.3, rustgbg-web-quickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rustgbg_web_quickstart-489508d91dfb4c98) [INFO] running `Command { std: "docker" "inspect" "3bc2cfc669b39181a5ef9b390f21c092b359525231111a9ae7b2029c45969e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc2cfc669b39181a5ef9b390f21c092b359525231111a9ae7b2029c45969e4e", kill_on_drop: false }` [INFO] [stdout] 3bc2cfc669b39181a5ef9b390f21c092b359525231111a9ae7b2029c45969e4e