[INFO] cloning repository https://github.com/losch/video-backup [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/losch/video-backup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e319edbe3bdcdbc6ba6900db13b8d15cbad2cc1f [INFO] checking losch/video-backup against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losch/video-backup on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/losch/video-backup [INFO] finished tweaking git repo https://github.com/losch/video-backup [INFO] tweaked toml for git repo https://github.com/losch/video-backup written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/losch/video-backup already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4c1241dc13d59a507a8998badd826771ba388b9d241493e5600dd5ea6641233 [INFO] running `"docker" "start" "-a" "e4c1241dc13d59a507a8998badd826771ba388b9d241493e5600dd5ea6641233"` [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking url v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c) [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v2.0.2 [INFO] [stderr] Checking video-backup v0.0.3 (/opt/rustwide/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[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[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:26:25 [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[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] --> src/main.rs:29:15 [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:15 [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[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:25 [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[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stderr] --> src/main.rs:29:15 [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:15 [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] | ^^^^ method not found in `iron::Iron` [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[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] | ^^^^ method not found in `iron::Iron` [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:57 [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[E0277]: the trait bound `index::IndexData: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> src/index.rs:33:57 [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] | ^^^^^^ method not found in `staticfile::Static` [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 10 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[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] | ^^^^^^ method not found in `staticfile::Static` [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 10 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] warning: build failed, waiting for other jobs to finish... [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" "e4c1241dc13d59a507a8998badd826771ba388b9d241493e5600dd5ea6641233"` [INFO] running `"docker" "rm" "-f" "e4c1241dc13d59a507a8998badd826771ba388b9d241493e5600dd5ea6641233"` [INFO] [stdout] e4c1241dc13d59a507a8998badd826771ba388b9d241493e5600dd5ea6641233