[INFO] cloning repository https://github.com/Nightfall/MCMUCH-Rust-Website [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nightfall/MCMUCH-Rust-Website" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightfall%2FMCMUCH-Rust-Website", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightfall%2FMCMUCH-Rust-Website'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01babbd4c2ca0966b2f0612b761d25388fa8b49d [INFO] checking Nightfall/MCMUCH-Rust-Website against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightfall%2FMCMUCH-Rust-Website" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nightfall/MCMUCH-Rust-Website on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nightfall/MCMUCH-Rust-Website [INFO] finished tweaking git repo https://github.com/Nightfall/MCMUCH-Rust-Website [INFO] tweaked toml for git repo https://github.com/Nightfall/MCMUCH-Rust-Website written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Nightfall/MCMUCH-Rust-Website already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 206eeb82b95357cd8274daba8e9cc930640935920f57fb58c39c9896aa633d1f [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" "206eeb82b95357cd8274daba8e9cc930640935920f57fb58c39c9896aa633d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "206eeb82b95357cd8274daba8e9cc930640935920f57fb58c39c9896aa633d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "206eeb82b95357cd8274daba8e9cc930640935920f57fb58c39c9896aa633d1f", kill_on_drop: false }` [INFO] [stdout] 206eeb82b95357cd8274daba8e9cc930640935920f57fb58c39c9896aa633d1f [INFO] running `Command { std: "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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4172b0b3d1675235236ea73e422784d62ef544657cade207730c5cfe30e2ca52 [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" "4172b0b3d1675235236ea73e422784d62ef544657cade207730c5cfe30e2ca52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.57 [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] Checking iron v0.6.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Checking handlebars v3.5.2 [INFO] [stderr] Checking handlebars-iron v0.29.0 [INFO] [stderr] Checking mcmuch-rust-website v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_json::builder` [INFO] [stdout] --> src/pages.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::builder::ObjectBuilder; [INFO] [stdout] | ^^^^^^^ could not find `builder` in `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | router.get("/", |_: &mut Request| { [INFO] [stdout] | ____________^^^_---__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 27 | | let mut resp = Response::new(); [INFO] [stdout] 28 | | resp.set_mut(Template::new("simple_content", value_to_json(de::from_reader(File::open("content/index.json").unwrap()).unwrap()))).set_m... [INFO] [stdout] 29 | | return Ok(resp); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json::builder` [INFO] [stdout] --> src/pages.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::builder::ObjectBuilder; [INFO] [stdout] | ^^^^^^^ could not find `builder` in `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | router.get("/", |_: &mut Request| { [INFO] [stdout] | ____________^^^_---__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 27 | | let mut resp = Response::new(); [INFO] [stdout] 28 | | resp.set_mut(Template::new("simple_content", value_to_json(de::from_reader(File::open("content/index.json").unwrap()).unwrap()))).set_m... [INFO] [stdout] 29 | | return Ok(resp); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/pages.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | ...mple_content", value_to_json(de::from_reader(File::open("content/index.json").unwrap()).unwrap()))).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 `handlebars_iron::Template::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/pages.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | ...mple_content", value_to_json(de::from_reader(File::open("content/index.json").unwrap()).unwrap()))).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 `handlebars_iron::Template::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | router.get("/about/", |_: &mut Request| { [INFO] [stdout] | ____________^^^_---------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 32 | | let mut resp = Response::new(); [INFO] [stdout] 33 | | resp.set_mut(Template::new("simple_content", value_to_json(de::from_reader(File::open("content/about.json").unwrap()).unwrap()))).set_m... [INFO] [stdout] 34 | | return Ok(resp); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | router.get("/about/", |_: &mut Request| { [INFO] [stdout] | ____________^^^_---------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 32 | | let mut resp = Response::new(); [INFO] [stdout] 33 | | resp.set_mut(Template::new("simple_content", value_to_json(de::from_reader(File::open("content/about.json").unwrap()).unwrap()))).set_m... [INFO] [stdout] 34 | | return Ok(resp); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____- supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/pages.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ...mple_content", value_to_json(de::from_reader(File::open("content/about.json").unwrap()).unwrap()))).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 `handlebars_iron::Template::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/pages.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ...mple_content", value_to_json(de::from_reader(File::open("content/about.json").unwrap()).unwrap()))).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 `handlebars_iron::Template::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | chain.link_after(HandlebarsEngine::new("templates/", ".hbs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------ ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> src/pages.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | chain.link_after(HandlebarsEngine::new("templates/", ".hbs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------ ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Value::I64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `U64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Value::U64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `F64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Value::F64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `I64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | Value::I64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `U64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Value::U64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `F64` found for enum `JsonValue` in the current scope [INFO] [stdout] --> src/helpers.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | Value::F64(data) => data.to_json(), [INFO] [stdout] | ^^^ variant or associated item not found in `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helpers.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | Value::Object(data) => value_object_to_json(data), // Somehow need to recursively go through and generate the array from the source [INFO] [stdout] | ^^^^ expected struct `BTreeMap`, found struct `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `serde_json::Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helpers.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | Value::Object(data) => value_object_to_json(data), // Somehow need to recursively go through and generate the array from the source [INFO] [stdout] | ^^^^ expected struct `BTreeMap`, found struct `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `serde_json::Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcmuch-rust-website` [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] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4172b0b3d1675235236ea73e422784d62ef544657cade207730c5cfe30e2ca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4172b0b3d1675235236ea73e422784d62ef544657cade207730c5cfe30e2ca52", kill_on_drop: false }` [INFO] [stdout] 4172b0b3d1675235236ea73e422784d62ef544657cade207730c5cfe30e2ca52