[INFO] cloning repository https://github.com/zhangpanweb/rust-practice [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangpanweb%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39e29eeaac1716c5c271f08bcc4d52a3514d08fe [INFO] checking zhangpanweb/rust-practice against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangpanweb%2Frust-practice" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangpanweb/rust-practice on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/zhangpanweb/rust-practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 760ddc2a54a3f455e430fb0a61b0f506603ceaaf9e1a175770996a765eaf8936 [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" "760ddc2a54a3f455e430fb0a61b0f506603ceaaf9e1a175770996a765eaf8936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "760ddc2a54a3f455e430fb0a61b0f506603ceaaf9e1a175770996a765eaf8936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760ddc2a54a3f455e430fb0a61b0f506603ceaaf9e1a175770996a765eaf8936", kill_on_drop: false }` [INFO] [stdout] 760ddc2a54a3f455e430fb0a61b0f506603ceaaf9e1a175770996a765eaf8936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d3475bfb494885d6c236276384354ecd6497f5735c8a2d53151a4f4ab8ea26 [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" "69d3475bfb494885d6c236276384354ecd6497f5735c8a2d53151a4f4ab8ea26", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [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 semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [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] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking plugin v0.2.6 [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 phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rusttype v0.2.4 [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 syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking piston2d-graphics v0.24.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Checking serde v1.0.103 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking piston-gfx_texture v0.30.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.47.0 [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 pistoncore-input v0.20.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking wayland-window v0.8.0 [INFO] [stderr] Checking pistoncore-window v0.30.0 [INFO] [stderr] Checking winit v0.8.3 [INFO] [stderr] Checking pistoncore-event_loop v0.35.0 [INFO] [stderr] Checking piston v0.35.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.43.0 [INFO] [stderr] Checking piston_window v0.74.0 [INFO] [stderr] Checking rust-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `tail` [INFO] [stdout] --> src/bin/snake/snake.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tail: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/iron-web-api/handlers.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tail` [INFO] [stdout] --> src/bin/snake/snake.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | tail: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "69d3475bfb494885d6c236276384354ecd6497f5735c8a2d53151a4f4ab8ea26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d3475bfb494885d6c236276384354ecd6497f5735c8a2d53151a4f4ab8ea26", kill_on_drop: false }` [INFO] [stdout] 69d3475bfb494885d6c236276384354ecd6497f5735c8a2d53151a4f4ab8ea26