[INFO] cloning repository https://github.com/zhangpanweb/rust-practice [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangpanweb/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangpanweb%2Frust-practice"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangpanweb%2Frust-practice'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 39e29eeaac1716c5c271f08bcc4d52a3514d08fe [INFO] checking zhangpanweb/rust-practice against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangpanweb%2Frust-practice" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangpanweb/rust-practice on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zhangpanweb/rust-practice [INFO] finished tweaking git repo https://github.com/zhangpanweb/rust-practice [INFO] tweaked toml for git repo https://github.com/zhangpanweb/rust-practice written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/zhangpanweb/rust-practice already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] 511b0460a54fa50598611788a9bb2d1eb1ce917c5cae4a9174a5b9dd3c36ff36 [INFO] running `"docker" "start" "-a" "511b0460a54fa50598611788a9bb2d1eb1ce917c5cae4a9174a5b9dd3c36ff36"` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rayon-core v1.6.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking piston2d-graphics v0.24.0 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.8.0 [INFO] [stderr] Checking winit v0.8.3 [INFO] [stderr] Checking pistoncore-input v0.20.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Checking pistoncore-window v0.30.0 [INFO] [stderr] Checking pistoncore-event_loop v0.35.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.43.0 [INFO] [stderr] Checking piston v0.35.0 [INFO] [stderr] Checking piston-gfx_texture v0.30.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.47.0 [INFO] [stderr] Checking piston_window v0.74.0 [INFO] [stderr] Checking rust-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'iron::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stderr] | [INFO] [stderr] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `"docker" "inspect" "511b0460a54fa50598611788a9bb2d1eb1ce917c5cae4a9174a5b9dd3c36ff36"` [INFO] running `"docker" "rm" "-f" "511b0460a54fa50598611788a9bb2d1eb1ce917c5cae4a9174a5b9dd3c36ff36"` [INFO] [stdout] 511b0460a54fa50598611788a9bb2d1eb1ce917c5cae4a9174a5b9dd3c36ff36