[INFO] updating cached repository https://github.com/georgerogers42/esso-rust [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] 3e579d0b2226a623d067a8daf0f8c7cfae076c33 [INFO] testing georgerogers42/esso-rust 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%2Fgeorgerogers42%2Fesso-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/georgerogers42/esso-rust 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/georgerogers42/esso-rust [INFO] finished tweaking git repo https://github.com/georgerogers42/esso-rust [INFO] tweaked toml for git repo https://github.com/georgerogers42/esso-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/georgerogers42/esso-rust 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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] a055d554b7596e5538b208cdcc2aaadfc47e1ea5d1c44f0dcf963ad861d3bcd1 [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" "a055d554b7596e5538b208cdcc2aaadfc47e1ea5d1c44f0dcf963ad861d3bcd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a055d554b7596e5538b208cdcc2aaadfc47e1ea5d1c44f0dcf963ad861d3bcd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a055d554b7596e5538b208cdcc2aaadfc47e1ea5d1c44f0dcf963ad861d3bcd1", kill_on_drop: false }` [INFO] [stdout] a055d554b7596e5538b208cdcc2aaadfc47e1ea5d1c44f0dcf963ad861d3bcd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 453ff3d303048eb66badaf0e86d1adb90afafb0f803dc7a13b3f2f8ea31198fc [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" "453ff3d303048eb66badaf0e86d1adb90afafb0f803dc7a13b3f2f8ea31198fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [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 num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling handlebars v3.3.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling params v0.8.0 [INFO] [stderr] Compiling handlebars-iron v0.29.0 [INFO] [stderr] Compiling esso-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/articles/mod.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let file = try!(File::open(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/articles/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(rdr.read_line(&mut line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/articles/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let meta = try! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/articles/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(rdr.read_to_string(&mut contents)); [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/handlers/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | let resp = Response::with((iron::status::Ok, hbs::Template::new("article", data))); [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 `std::collections::HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/mod.rs:26:81 [INFO] [stdout] | [INFO] [stdout] 26 | let resp = Response::with((iron::status::Ok, hbs::Template::new("articles", data))); [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 `std::collections::HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/handlers/mod.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | routes.get("/article/:slug", move |req: &mut Request| { [INFO] [stdout] | ________________^^^_----------------__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 40 | | article_h(req, &avec, &amap) [INFO] [stdout] 41 | | }); [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/handlers/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | routes.get("/", move |req: &mut Request| { [INFO] [stdout] | ________________^^^_---__- [INFO] [stdout] | | | [INFO] [stdout] | | expected 3 arguments [INFO] [stdout] 46 | | articles_h(req, &avec) [INFO] [stdout] 47 | | }); [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new2` found for struct `hbs::HandlebarsEngine` in the current scope [INFO] [stdout] --> src/handlers/mod.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | let mut hb = hbs::HandlebarsEngine::new2(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `hbs::HandlebarsEngine` [INFO] [stdout] | help: there is an associated function with a similar name: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esso-rust`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "453ff3d303048eb66badaf0e86d1adb90afafb0f803dc7a13b3f2f8ea31198fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453ff3d303048eb66badaf0e86d1adb90afafb0f803dc7a13b3f2f8ea31198fc", kill_on_drop: false }` [INFO] [stdout] 453ff3d303048eb66badaf0e86d1adb90afafb0f803dc7a13b3f2f8ea31198fc