[INFO] cloning repository https://github.com/daiheitan/data-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daiheitan/data-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiheitan%2Fdata-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiheitan%2Fdata-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7ce16dd30b3c43aa8aa2d0b246ee2cc66b37e54 [INFO] checking daiheitan/data-server against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiheitan%2Fdata-server" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daiheitan/data-server on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daiheitan/data-server [INFO] finished tweaking git repo https://github.com/daiheitan/data-server [INFO] tweaked toml for git repo https://github.com/daiheitan/data-server written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/daiheitan/data-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43393738c395c292c353706c244c4b35ac24c2122821464ed2fb62a220c6fd6b [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" "43393738c395c292c353706c244c4b35ac24c2122821464ed2fb62a220c6fd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43393738c395c292c353706c244c4b35ac24c2122821464ed2fb62a220c6fd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43393738c395c292c353706c244c4b35ac24c2122821464ed2fb62a220c6fd6b", kill_on_drop: false }` [INFO] [stdout] 43393738c395c292c353706c244c4b35ac24c2122821464ed2fb62a220c6fd6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae83438b67ab031f5ec5a3a2b14b67698765ea99853c8f74fd3ebeeaac8e92f3 [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" "ae83438b67ab031f5ec5a3a2b14b67698765ea99853c8f74fd3ebeeaac8e92f3", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking handlebars v3.5.1 [INFO] [stderr] Checking handlebars-iron v0.29.0 [INFO] [stderr] Checking painter v0.0.1-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirectorySource` [INFO] [stdout] --> src/main.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToJson` [INFO] [stdout] --> src/main.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use rustc_serialize::json::{ToJson, Json}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirectorySource` [INFO] [stdout] --> src/main.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToJson` [INFO] [stdout] --> src/main.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use rustc_serialize::json::{ToJson, Json}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | res.set_mut(Template::new("memory", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `hbs::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | res.set_mut(Template::new("memory", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `hbs::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new2` found for struct `HandlebarsEngine` in the current scope [INFO] [stdout] --> src/main.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | let mut hbse = HandlebarsEngine::new2(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `HandlebarsEngine` [INFO] [stdout] | help: there is an associated function with a similar name: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new2` found for struct `HandlebarsEngine` in the current scope [INFO] [stdout] --> src/main.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | let mut hbse = HandlebarsEngine::new2(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `HandlebarsEngine` [INFO] [stdout] | help: there is an associated function with a similar name: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `painter` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ae83438b67ab031f5ec5a3a2b14b67698765ea99853c8f74fd3ebeeaac8e92f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae83438b67ab031f5ec5a3a2b14b67698765ea99853c8f74fd3ebeeaac8e92f3", kill_on_drop: false }` [INFO] [stdout] ae83438b67ab031f5ec5a3a2b14b67698765ea99853c8f74fd3ebeeaac8e92f3