[INFO] updating cached repository losch/video-backup [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/losch/video-backup [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/losch/video-backup" "work/ex/beta-1.38-1/sources/1.37.0/gh/losch/video-backup"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/losch/video-backup'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/losch/video-backup" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/losch/video-backup"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/losch/video-backup'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e319edbe3bdcdbc6ba6900db13b8d15cbad2cc1f [INFO] sha for GitHub repo losch/video-backup: e319edbe3bdcdbc6ba6900db13b8d15cbad2cc1f [INFO] validating manifest of losch/video-backup on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of losch/video-backup on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing losch/video-backup [INFO] finished frobbing losch/video-backup [INFO] frobbed toml for losch/video-backup written to work/ex/beta-1.38-1/sources/1.37.0/gh/losch/video-backup/Cargo.toml [INFO] started frobbing losch/video-backup [INFO] finished frobbing losch/video-backup [INFO] frobbed toml for losch/video-backup written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/losch/video-backup/Cargo.toml [INFO] crate losch/video-backup already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/losch/video-backup/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing losch/video-backup against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/losch/video-backup:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 15367491b7871ff92553b063e2a059aa0b7e8098c271ad2d80874292965e78bd [INFO] running `"docker" "start" "-a" "15367491b7871ff92553b063e2a059aa0b7e8098c271ad2d80874292965e78bd"` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling url v2.1.0 (https://github.com/servo/rust-url#0e874ddc) [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling iron v0.4.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling mount 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 serde_json v1.0.40 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling handlebars v2.0.1 [INFO] [stderr] Compiling video-backup v0.0.3 (/opt/crater/workdir) [INFO] [stderr] error[E0603]: crate `percent_encoding` is private [INFO] [stderr] --> src/download.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | use url::percent_encoding::percent_decode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | router.get("/", index::handler); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | router.get("/api/download", download::download_handler); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | router.get("/api/info", download::info_handler); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | .mount("/tmp/", download::download_file_handler) [INFO] [stderr] | ^^^^^ expected signature of `for<'r, 's, 't0> fn(&'r mut iron::request::Request<'s, 't0>) -> _` [INFO] [stderr] | [INFO] [stderr] ::: src/download.rs:132:1 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn download_file_handler(req: &mut Request) -> IronResult { [INFO] [stderr] | ----------------------------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {download::download_file_handler}` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | .mount("/tmp/", download::download_file_handler) [INFO] [stderr] | ^^^^^ expected signature of `fn(&mut iron::request::Request<'_, '_>) -> _` [INFO] [stderr] | [INFO] [stderr] ::: src/download.rs:132:1 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn download_file_handler(req: &mut Request) -> IronResult { [INFO] [stderr] | ----------------------------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {download::download_file_handler}` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Iron::new(mount).http("0.0.0.0:3000") [INFO] [stderr] | ^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `mount::Mount` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount` [INFO] [stderr] = note: required by `iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Iron::new(mount).http("0.0.0.0:3000") [INFO] [stderr] | ^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `mount::Mount` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount` [INFO] [stderr] = note: required by `iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `http` found for type `iron::Iron` in the current scope [INFO] [stderr] --> src/main.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | Iron::new(mount).http("0.0.0.0:3000") [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `http` exists but the following trait bounds were not satisfied: [INFO] [stderr] `mount::Mount : iron::Handler` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `index::IndexData: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/index.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | if let Ok(contents) = handlebars.render("template", &data) { [INFO] [stderr] | ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `index::IndexData` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `handle` found for type `staticfile::Static` in the current scope [INFO] [stderr] --> src/download.rs:135:31 [INFO] [stderr] | [INFO] [stderr] 135 | match static_file_handler.handle(req) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `handle` exists but the following trait bounds were not satisfied: [INFO] [stderr] `staticfile::Static : iron::Handler` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use iron::middleware::Handler;` [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron::Handler` [INFO] [stderr] --> src/download.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use iron::Handler; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `video-backup`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "15367491b7871ff92553b063e2a059aa0b7e8098c271ad2d80874292965e78bd"` [INFO] running `"docker" "rm" "-f" "15367491b7871ff92553b063e2a059aa0b7e8098c271ad2d80874292965e78bd"` [INFO] [stdout] 15367491b7871ff92553b063e2a059aa0b7e8098c271ad2d80874292965e78bd