[INFO] updating cached repository https://github.com/thebearingedge/rust-api [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 952d2fd46366e78b942e2f689f6f256690a8c41e [INFO] checking thebearingedge/rust-api against try#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthebearingedge%2Frust-api" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thebearingedge/rust-api on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/thebearingedge/rust-api [INFO] finished tweaking git repo https://github.com/thebearingedge/rust-api [INFO] tweaked toml for git repo https://github.com/thebearingedge/rust-api written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/thebearingedge/rust-api already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4409cba7476cd34ba9f82e491384a88a39ba5da4567723d6938bbed478621d2e [INFO] running `"docker" "start" "-a" "4409cba7476cd34ba9f82e491384a88a39ba5da4567723d6938bbed478621d2e"` [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking regex v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking web-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | let payload = handle_json!(serde_json::to_string(db.get_posts())); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | handle_json!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | let post = handle_json!(serde_json::from_str(&payload), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | let post_id = handle_json!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | let payload = handle_json!(serde_json::to_string(&post), status::InternalServerError); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | let payload = handle_json!(serde_json::to_string(db.get_posts())); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | handle_json!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | let post = handle_json!(serde_json::from_str(&payload), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | let post_id = handle_json!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | Err(err) => return Ok(Response::with(($status, err.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | let payload = handle_json!(serde_json::to_string(&post), status::InternalServerError); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.13s [INFO] running `"docker" "inspect" "4409cba7476cd34ba9f82e491384a88a39ba5da4567723d6938bbed478621d2e"` [INFO] running `"docker" "rm" "-f" "4409cba7476cd34ba9f82e491384a88a39ba5da4567723d6938bbed478621d2e"` [INFO] [stdout] 4409cba7476cd34ba9f82e491384a88a39ba5da4567723d6938bbed478621d2e