[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01babbd4c2ca0966b2f0612b761d25388fa8b49d [INFO] testing Nightfall/MCMUCH-Rust-Website against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightfall%2FMCMUCH-Rust-Website" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nightfall/MCMUCH-Rust-Website on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-1/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 501d7b11896c3031304979a64630db4deb4626aaf0136f53a01b6711d91ac28e [INFO] running `Command { std: "docker" "start" "-a" "501d7b11896c3031304979a64630db4deb4626aaf0136f53a01b6711d91ac28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "501d7b11896c3031304979a64630db4deb4626aaf0136f53a01b6711d91ac28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "501d7b11896c3031304979a64630db4deb4626aaf0136f53a01b6711d91ac28e", kill_on_drop: false }` [INFO] [stdout] 501d7b11896c3031304979a64630db4deb4626aaf0136f53a01b6711d91ac28e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cbe4cc48856b06c1c3bcda4b1337f0da8fc022b64ff32910113d380735ca69ff [INFO] running `Command { std: "docker" "start" "-a" "cbe4cc48856b06c1c3bcda4b1337f0da8fc022b64ff32910113d380735ca69ff", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling handlebars v3.3.0 [INFO] [stderr] Compiling handlebars-iron v0.29.0 [INFO] [stderr] Compiling 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[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[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[E0599]: no variant or associated item named `I64` found for enum `serde_json::Value` 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 `serde_json::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `U64` found for enum `serde_json::Value` 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 `serde_json::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `F64` found for enum `serde_json::Value` 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 `serde_json::Value` [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 `std::collections::BTreeMap`, found struct `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::collections::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] [stderr] error: could not compile `mcmuch-rust-website`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cbe4cc48856b06c1c3bcda4b1337f0da8fc022b64ff32910113d380735ca69ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe4cc48856b06c1c3bcda4b1337f0da8fc022b64ff32910113d380735ca69ff", kill_on_drop: false }` [INFO] [stdout] cbe4cc48856b06c1c3bcda4b1337f0da8fc022b64ff32910113d380735ca69ff