[INFO] cloning repository https://github.com/songyzh/blog-rust-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/songyzh/blog-rust-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongyzh%2Fblog-rust-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongyzh%2Fblog-rust-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0920e3622cd13fbd861a108f4293a0ae733d24b [INFO] testing songyzh/blog-rust-async against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongyzh%2Fblog-rust-async" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/songyzh/blog-rust-async on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/songyzh/blog-rust-async [INFO] finished tweaking git repo https://github.com/songyzh/blog-rust-async [INFO] tweaked toml for git repo https://github.com/songyzh/blog-rust-async written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/songyzh/blog-rust-async already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.2.4 [INFO] [stderr] Downloaded sqlx v0.2.5 [INFO] [stderr] Downloaded thiserror v1.0.10 [INFO] [stderr] Downloaded async-native-tls v0.3.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.10 [INFO] [stderr] Downloaded sqlx-core v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1102eb4c215db631beffd12411e67a024205a3976e9a748f9d4e1de3eae333c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1102eb4c215db631beffd12411e67a024205a3976e9a748f9d4e1de3eae333c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1102eb4c215db631beffd12411e67a024205a3976e9a748f9d4e1de3eae333c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1102eb4c215db631beffd12411e67a024205a3976e9a748f9d4e1de3eae333c1", kill_on_drop: false }` [INFO] [stdout] 1102eb4c215db631beffd12411e67a024205a3976e9a748f9d4e1de3eae333c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6efd482a385dbe682cd18ddf271df117d2f1bec9c55b10dedf111478a04c49d9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6efd482a385dbe682cd18ddf271df117d2f1bec9c55b10dedf111478a04c49d9", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace v0.3.43 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.46 [INFO] [stderr] Compiling serde_qs v0.5.2 [INFO] [stderr] Compiling async-native-tls v0.3.2 [INFO] [stderr] Compiling http-service v0.4.0 [INFO] [stderr] Compiling http-service-hyper v0.4.1 [INFO] [stderr] Compiling sqlx-core v0.2.5 [INFO] [stderr] Compiling tide v0.5.1 [INFO] [stderr] Compiling sqlx-macros v0.2.4 [INFO] [stderr] Compiling sqlx v0.2.5 [INFO] [stderr] Compiling blog-rust-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `Utc` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlRow` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::mysql::MySqlRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use tide::{Request, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Utc` [INFO] [stdout] --> src/service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/service.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn get_posts(mut req: Request) -> Response { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{MySqlPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/service.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "6efd482a385dbe682cd18ddf271df117d2f1bec9c55b10dedf111478a04c49d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efd482a385dbe682cd18ddf271df117d2f1bec9c55b10dedf111478a04c49d9", kill_on_drop: false }` [INFO] [stdout] 6efd482a385dbe682cd18ddf271df117d2f1bec9c55b10dedf111478a04c49d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40cdcca83180b84f05a4c9d43a74c551d55f74b3cbfc90d8dba70dcdc08af207 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40cdcca83180b84f05a4c9d43a74c551d55f74b3cbfc90d8dba70dcdc08af207", kill_on_drop: false }` [INFO] [stderr] Compiling blog-rust-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `Utc` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlRow` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::mysql::MySqlRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use tide::{Request, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Utc` [INFO] [stdout] --> src/service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/service.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn get_posts(mut req: Request) -> Response { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{MySqlPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/service.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "40cdcca83180b84f05a4c9d43a74c551d55f74b3cbfc90d8dba70dcdc08af207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cdcca83180b84f05a4c9d43a74c551d55f74b3cbfc90d8dba70dcdc08af207", kill_on_drop: false }` [INFO] [stdout] 40cdcca83180b84f05a4c9d43a74c551d55f74b3cbfc90d8dba70dcdc08af207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be2288d5748331d3258d31987eaea98440c0a9a55ef969499e20302ee3d6260f [INFO] running `Command { std: "docker" "start" "-a" "be2288d5748331d3258d31987eaea98440c0a9a55ef969499e20302ee3d6260f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Duration`, `Utc` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{Duration, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Serialize` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::mysql::MySqlRow` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use sqlx::mysql::MySqlRow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Request`, `Response` [INFO] [stderr] --> src/main.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use tide::{Request, Response}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration`, `Utc` [INFO] [stderr] --> src/service.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use chrono::{Duration, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/service.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/service.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | pub async fn get_posts(mut req: Request) -> Response { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/service.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/main.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use sqlx::{MySqlPool, Row}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/service.rs:66:24 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn benchmark(mut req: Request) -> Response { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/blog_rust_async-e1756f21ad3aca09 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be2288d5748331d3258d31987eaea98440c0a9a55ef969499e20302ee3d6260f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2288d5748331d3258d31987eaea98440c0a9a55ef969499e20302ee3d6260f", kill_on_drop: false }` [INFO] [stdout] be2288d5748331d3258d31987eaea98440c0a9a55ef969499e20302ee3d6260f