[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] testing rustgbg/rustgbg-web-quickstart against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustgbg%2Frustgbg-web-quickstart" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustgbg/rustgbg-web-quickstart 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 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-103/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" "+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-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 988359ea1aaa9ee8f39b6b3ee9ee27e2a0cab7275757bae96ff5b259b034cdc5 [INFO] running `Command { std: "docker" "start" "-a" "988359ea1aaa9ee8f39b6b3ee9ee27e2a0cab7275757bae96ff5b259b034cdc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "988359ea1aaa9ee8f39b6b3ee9ee27e2a0cab7275757bae96ff5b259b034cdc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988359ea1aaa9ee8f39b6b3ee9ee27e2a0cab7275757bae96ff5b259b034cdc5", kill_on_drop: false }` [INFO] [stdout] 988359ea1aaa9ee8f39b6b3ee9ee27e2a0cab7275757bae96ff5b259b034cdc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 0ef257a7592e46cb02362ac07b652379b48629f77d512db80ee9e788508bdef2 [INFO] running `Command { std: "docker" "start" "-a" "0ef257a7592e46cb02362ac07b652379b48629f77d512db80ee9e788508bdef2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 crossbeam-utils v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [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 percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [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-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [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 base64 v0.9.3 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling smallvec v0.6.5 [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 time v0.1.40 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling quote v0.5.2 [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 libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling resolv-conf v0.6.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [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 phf_shared v0.7.23 [INFO] [stderr] Compiling flate2 v1.0.2 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.5 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-signal v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling trust-dns-proto v0.4.0 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.30 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling actix v0.7.4 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.36s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "0ef257a7592e46cb02362ac07b652379b48629f77d512db80ee9e788508bdef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef257a7592e46cb02362ac07b652379b48629f77d512db80ee9e788508bdef2", kill_on_drop: false }` [INFO] [stdout] 0ef257a7592e46cb02362ac07b652379b48629f77d512db80ee9e788508bdef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] a72b101840d74de43726967cefb61bca6a1893d4ab462fea01629d3b3942b5db [INFO] running `Command { std: "docker" "start" "-a" "a72b101840d74de43726967cefb61bca6a1893d4ab462fea01629d3b3942b5db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.17s [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] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rustgbg_web_quickstart-f7e60e2b47b59321) [INFO] running `Command { std: "docker" "inspect" "a72b101840d74de43726967cefb61bca6a1893d4ab462fea01629d3b3942b5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72b101840d74de43726967cefb61bca6a1893d4ab462fea01629d3b3942b5db", kill_on_drop: false }` [INFO] [stdout] a72b101840d74de43726967cefb61bca6a1893d4ab462fea01629d3b3942b5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 138983c821ce480b03c508823558cbfd968d3e7e0f78eb22fb7b21d7b1e4874e [INFO] running `Command { std: "docker" "start" "-a" "138983c821ce480b03c508823558cbfd968d3e7e0f78eb22fb7b21d7b1e4874e", 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] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono` [INFO] [stderr] --> src/models.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `http::StatusCode` [INFO] [stderr] --> src/main.rs:20:44 [INFO] [stderr] | [INFO] [stderr] 20 | use actix_web::{server, App, http::Method, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Response`, `Started` [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handlers/get.rs:30:85 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_example((path, state): (Path<(String,)>, State)) -> 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 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stderr] 30 + pub fn get_example((path, state): (Path<(String,)>, State)) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handlers/post.rs:51:87 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stderr] 51 + pub fn post_example((msg, state): (Json, State)) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Middleware` [INFO] [stderr] --> src/main.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | use actix_web::middleware::{Middleware, Started, Response}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustgbg-web-quickstart` (bin "rustgbg-web-quickstart" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.16s [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] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustgbg_web_quickstart-f7e60e2b47b59321) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "138983c821ce480b03c508823558cbfd968d3e7e0f78eb22fb7b21d7b1e4874e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138983c821ce480b03c508823558cbfd968d3e7e0f78eb22fb7b21d7b1e4874e", kill_on_drop: false }` [INFO] [stdout] 138983c821ce480b03c508823558cbfd968d3e7e0f78eb22fb7b21d7b1e4874e