[INFO] updating cached repository https://github.com/losch/video-backup
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e319edbe3bdcdbc6ba6900db13b8d15cbad2cc1f
[INFO] testing losch/video-backup against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/losch/video-backup on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-6/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" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+1.40.0" "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" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] c81a40330fc4dad26d3413c23e70ae25496e3fdafe23267c5ca9414c36027105
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "c81a40330fc4dad26d3413c23e70ae25496e3fdafe23267c5ca9414c36027105"`
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling sequence_trie v0.3.6
[INFO] [stderr]    Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling idna v0.2.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling cookie v0.2.5
[INFO] [stderr]    Compiling hashbrown v0.5.0
[INFO] [stderr]    Compiling mount v0.4.0
[INFO] [stderr]    Compiling hyper v0.9.18
[INFO] [stderr]    Compiling url v2.1.0 (https://github.com/servo/rust-url#7d2c9d6c)
[INFO] [stderr]    Compiling staticfile v0.5.0
[INFO] [stderr]    Compiling pest_generator v2.1.1
[INFO] [stderr]    Compiling iron v0.4.0
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling handlebars v2.0.2
[INFO] [stderr]    Compiling 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[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<Response> {
[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<iron::Response, iron::IronError> {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::<H>::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::<H>::new`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `http` found for type `iron::Iron<mount::Mount>` 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<mount::Mount>`
[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[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] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "c81a40330fc4dad26d3413c23e70ae25496e3fdafe23267c5ca9414c36027105"`
[INFO] running `"docker" "rm" "-f" "c81a40330fc4dad26d3413c23e70ae25496e3fdafe23267c5ca9414c36027105"`
[INFO] [stdout] c81a40330fc4dad26d3413c23e70ae25496e3fdafe23267c5ca9414c36027105
