[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] checking losch/video-backup against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flosch%2Fvideo-backup" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/losch/video-backup on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-8/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/servo/rust-url` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9212c9f7160eb25d0f01600e247de8a2c8ed02b2e8ba761c58b05f5af62c6133 [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" "9212c9f7160eb25d0f01600e247de8a2c8ed02b2e8ba761c58b05f5af62c6133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9212c9f7160eb25d0f01600e247de8a2c8ed02b2e8ba761c58b05f5af62c6133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9212c9f7160eb25d0f01600e247de8a2c8ed02b2e8ba761c58b05f5af62c6133", kill_on_drop: false }` [INFO] [stdout] 9212c9f7160eb25d0f01600e247de8a2c8ed02b2e8ba761c58b05f5af62c6133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5851b96686028e7575fb6dba0b1766c262827038c7e700d04abc7b0ce61e862f [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" "5851b96686028e7575fb6dba0b1766c262827038c7e700d04abc7b0ce61e862f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking url v2.1.1 (https://github.com/servo/rust-url#a46bec6e) [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking handlebars v3.4.0 [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Checking video-backup v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/download.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `percent_encoding` in `url` [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[E0432]: unresolved import `url::percent_encoding` [INFO] [stdout] --> src/download.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | use url::percent_encoding::percent_decode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `percent_encoding` in `url` [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[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]: 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, E0432, E0599, 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] [stderr] warning: build failed, waiting for other jobs to finish... [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, E0432, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5851b96686028e7575fb6dba0b1766c262827038c7e700d04abc7b0ce61e862f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5851b96686028e7575fb6dba0b1766c262827038c7e700d04abc7b0ce61e862f", kill_on_drop: false }` [INFO] [stdout] 5851b96686028e7575fb6dba0b1766c262827038c7e700d04abc7b0ce61e862f