[INFO] cloning repository https://github.com/losch/video-backup [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e319edbe3bdcdbc6ba6900db13b8d15cbad2cc1f [INFO] testing losch/video-backup 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%2Flosch%2Fvideo-backup" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losch/video-backup 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/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-7/source/Cargo.toml [INFO] crate git repo https://github.com/losch/video-backup 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] error: the lock file /workspace/builds/worker-7/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] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ac3e8a2450e0ff890d4f225e7ffd9158c9b6b75d7a584e4d532a0cc088019fcc [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" "ac3e8a2450e0ff890d4f225e7ffd9158c9b6b75d7a584e4d532a0cc088019fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3e8a2450e0ff890d4f225e7ffd9158c9b6b75d7a584e4d532a0cc088019fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3e8a2450e0ff890d4f225e7ffd9158c9b6b75d7a584e4d532a0cc088019fcc", kill_on_drop: false }` [INFO] [stdout] ac3e8a2450e0ff890d4f225e7ffd9158c9b6b75d7a584e4d532a0cc088019fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 771a587e8237aaa94eeeeba5a2691ce44609e092f709f706faca4be211dc209b [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" "771a587e8237aaa94eeeeba5a2691ce44609e092f709f706faca4be211dc209b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling idna v0.2.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling form_urlencoded v1.0.0 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling url v2.1.1 (https://github.com/servo/rust-url#0a92c73a) [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling iron 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 serde_json v1.0.57 [INFO] [stderr] Compiling handlebars v3.3.0 [INFO] [stderr] Compiling video-backup v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: crate `percent_encoding` is private [INFO] [stdout] --> src/download.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `percent_encoding` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-url-3ddac0958e207dae/0a92c73/src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | extern crate percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | router.get("/", index::handler); [INFO] [stdout] | ^^^ --- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | router.get("/api/download", download::download_handler); [INFO] [stdout] | ^^^ --------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | router.get("/api/info", download::info_handler); [INFO] [stdout] | ^^^ ----------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | .mount("/tmp/", download::download_file_handler) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected signature of `for<'r, 's, 't0> fn(&'r mut iron::request::Request<'s, 't0>) -> _` [INFO] [stdout] | [INFO] [stdout] ::: src/download.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn download_file_handler(req: &mut Request) -> IronResult { [INFO] [stdout] | ----------------------------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Iron::new(mount).http("0.0.0.0:3000") [INFO] [stdout] | ^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `mount::Mount` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `mount::Mount` [INFO] [stdout] = note: required because of the requirements on the impl of `iron::Handler` for `mount::Mount` [INFO] [stdout] = note: required by `iron::Iron::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `http` found for struct `iron::Iron` in the current scope [INFO] [stdout] --> src/main.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | Iron::new(mount).http("0.0.0.0:3000") [INFO] [stdout] | ^^^^ method not found in `iron::Iron` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mount-0.4.0/src/mount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Mount { [INFO] [stdout] | ---------------- doesn't satisfy `mount::Mount: iron::Handler` [INFO] [stdout] | [INFO] [stdout] = note: the method `http` exists but the following trait bounds were not satisfied: [INFO] [stdout] `mount::Mount: iron::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `index::IndexData: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/index.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | if let Ok(contents) = handlebars.render("template", &data) { [INFO] [stdout] | ^^^^^ the trait `serde::ser::Serialize` is not implemented for `index::IndexData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `handle` found for struct `staticfile::Static` in the current scope [INFO] [stdout] --> src/download.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | match static_file_handler.handle(req) { [INFO] [stdout] | ^^^^^^ method not found in `staticfile::Static` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/staticfile-0.5.0/src/static_handler.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Static { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>>::Output = std::result::Result` [INFO] [stdout] | doesn't satisfy `_: std::ops::Fn<(&mut iron::Request<'_, '_>,)>` [INFO] [stdout] | doesn't satisfy `staticfile::Static: iron::Handler` [INFO] [stdout] | [INFO] [stdout] = note: the method `handle` exists but the following trait bounds were not satisfied: [INFO] [stdout] `,)>>::Output = std::result::Result` [INFO] [stdout] which is required by `staticfile::Static: iron::Handler` [INFO] [stdout] `staticfile::Static: std::ops::Fn<(&mut iron::Request<'_, '_>,)>` [INFO] [stdout] which is required by `staticfile::Static: iron::Handler` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use iron::middleware::Handler;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iron::Handler` [INFO] [stdout] --> src/download.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use iron::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599, E0603, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `video-backup`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "771a587e8237aaa94eeeeba5a2691ce44609e092f709f706faca4be211dc209b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771a587e8237aaa94eeeeba5a2691ce44609e092f709f706faca4be211dc209b", kill_on_drop: false }` [INFO] [stdout] 771a587e8237aaa94eeeeba5a2691ce44609e092f709f706faca4be211dc209b