[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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losch/video-backup on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-14/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.44.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-14/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 `"/workspace/cargo-home/bin/cargo" "+1.44.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.44.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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 383a7c71a291675e14bcb3860f0df492c12d335bd10e4fc74651c41dc55fc340 [INFO] running `"docker" "start" "-a" "383a7c71a291675e14bcb3860f0df492c12d335bd10e4fc74651c41dc55fc340"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#28314752) [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 handlebars v3.1.0 [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] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stderr] | [INFO] [stderr] note: the crate `percent_encoding` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/2831475/src/lib.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | extern crate percent_encoding; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | router.get("/", index::handler); [INFO] [stderr] | ^^^ --- -------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | router.get("/api/download", download::download_handler); [INFO] [stderr] | ^^^ --------------- -------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | router.get("/api/info", download::info_handler); [INFO] [stderr] | ^^^ ----------- ---------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [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 struct `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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mount-0.4.0/src/mount.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Mount { [INFO] [stderr] | ---------------- doesn't satisfy `mount::Mount: iron::Handler` [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 struct `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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/staticfile-0.5.0/src/static_handler.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Static { [INFO] [stderr] | ----------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `<_ as std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>>::Output = std::result::Result` [INFO] [stderr] | doesn't satisfy `_: std::ops::Fn<(&mut iron::Request<'_, '_>,)>` [INFO] [stderr] | doesn't satisfy `staticfile::Static: iron::Handler` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/middleware/mod.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 137 | fn handle(&self, &mut Request) -> IronResult; [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = note: the method `handle` exists but the following trait bounds were not satisfied: [INFO] [stderr] `,)>>::Output = std::result::Result` [INFO] [stderr] which is required by `staticfile::Static: iron::Handler` [INFO] [stderr] `staticfile::Static: std::ops::Fn<(&mut iron::Request<'_, '_>,)>` [INFO] [stderr] which is required by `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; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599, E0603, E0631. [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" "383a7c71a291675e14bcb3860f0df492c12d335bd10e4fc74651c41dc55fc340"` [INFO] running `"docker" "rm" "-f" "383a7c71a291675e14bcb3860f0df492c12d335bd10e4fc74651c41dc55fc340"` [INFO] [stdout] 383a7c71a291675e14bcb3860f0df492c12d335bd10e4fc74651c41dc55fc340