[INFO] updating cached repository stan4cb/restful-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/stan4cb/restful-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/stan4cb/restful-rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/stan4cb/restful-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/stan4cb/restful-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/stan4cb/restful-rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/stan4cb/restful-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/stan4cb/restful-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 26cf2f16e3cc769f313c696fcecc7e709b1459c1 [INFO] sha for GitHub repo stan4cb/restful-rust: 26cf2f16e3cc769f313c696fcecc7e709b1459c1 [INFO] validating manifest of stan4cb/restful-rust on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of stan4cb/restful-rust on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing stan4cb/restful-rust [INFO] finished frobbing stan4cb/restful-rust [INFO] frobbed toml for stan4cb/restful-rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/stan4cb/restful-rust/Cargo.toml [INFO] started frobbing stan4cb/restful-rust [INFO] finished frobbing stan4cb/restful-rust [INFO] frobbed toml for stan4cb/restful-rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/stan4cb/restful-rust/Cargo.toml [INFO] crate stan4cb/restful-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/stan4cb/restful-rust/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.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/iron/mount.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing stan4cb/restful-rust against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/stan4cb/restful-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] d1304cae0fe4c81041b021f6887d7f5bbcd2a76a270a80dad2a85267e4c1778d [INFO] running `"docker" "start" "-a" "d1304cae0fe4c81041b021f6887d7f5bbcd2a76a270a80dad2a85267e4c1778d"` [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling restful-rust v0.0.5 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `site::mount::Mount` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Iron::new(build()). [INFO] [stderr] | ^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `site::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 `site::mount::Mount` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `site::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 `site::mount::Mount` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Iron::new(build()). [INFO] [stderr] | ^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `site::mount::Mount` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `site::mount::Mount` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `site::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:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | http("localhost:3000"). [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `http` exists but the following trait bounds were not satisfied: [INFO] [stderr] `site::mount::Mount : iron::Handler` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/site.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | router.get("/" ,index); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/site.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | router.get("/:q" ,site_proc); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/site.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | router.get("/ls" ,ls); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `site::router::Router` [INFO] [stderr] --> src/site.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | m.mount("/" ,router); [INFO] [stderr] | ^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `site::router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `site::router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::router::Router` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `site::router::Router` [INFO] [stderr] --> src/site.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | m.mount("/" ,router); [INFO] [stderr] | ^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `site::router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `site::router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::router::Router` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] --> src/site.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | m.mount("/rs" ,Static::new(Path::new("hello.rs"))); [INFO] [stderr] | ^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `site::staticfile::Static` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::staticfile::Static` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] --> src/site.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | m.mount("/rs" ,Static::new(Path::new("hello.rs"))); [INFO] [stderr] | ^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `site::staticfile::Static` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::staticfile::Static` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] --> src/site.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | m.mount("/pic",Static::new(Path::new("pic.jpeg"))); [INFO] [stderr] | ^^^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `site::staticfile::Static` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::staticfile::Static` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] --> src/site.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | m.mount("/pic",Static::new(Path::new("pic.jpeg"))); [INFO] [stderr] | ^^^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `site::staticfile::Static` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `site::staticfile::Static` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `site::staticfile::Static` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stderr] --> src/site.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | if req.url.path == t_url.path [INFO] [stderr] | ^^^^ help: use parentheses to call the method: `path()` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stderr] --> src/site.rs:62:30 [INFO] [stderr] | [INFO] [stderr] 62 | if req.url.path == t_url.path [INFO] [stderr] | ^^^^ help: use parentheses to call the method: `path()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `restful-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d1304cae0fe4c81041b021f6887d7f5bbcd2a76a270a80dad2a85267e4c1778d"` [INFO] running `"docker" "rm" "-f" "d1304cae0fe4c81041b021f6887d7f5bbcd2a76a270a80dad2a85267e4c1778d"` [INFO] [stdout] d1304cae0fe4c81041b021f6887d7f5bbcd2a76a270a80dad2a85267e4c1778d