[INFO] updating cached repository lbdremy/rs-mvc-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/lbdremy/rs-mvc-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/lbdremy/rs-mvc-example" "work/ex/beta-1.38-1/sources/1.37.0/gh/lbdremy/rs-mvc-example"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/lbdremy/rs-mvc-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/lbdremy/rs-mvc-example" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lbdremy/rs-mvc-example"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lbdremy/rs-mvc-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c600f81651c3806822904ae8deb8ad68e6a91977 [INFO] sha for GitHub repo lbdremy/rs-mvc-example: c600f81651c3806822904ae8deb8ad68e6a91977 [INFO] validating manifest of lbdremy/rs-mvc-example 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 lbdremy/rs-mvc-example 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 lbdremy/rs-mvc-example [INFO] finished frobbing lbdremy/rs-mvc-example [INFO] frobbed toml for lbdremy/rs-mvc-example written to work/ex/beta-1.38-1/sources/1.37.0/gh/lbdremy/rs-mvc-example/Cargo.toml [INFO] started frobbing lbdremy/rs-mvc-example [INFO] finished frobbing lbdremy/rs-mvc-example [INFO] frobbed toml for lbdremy/rs-mvc-example written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/lbdremy/rs-mvc-example/Cargo.toml [INFO] crate lbdremy/rs-mvc-example 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/lbdremy/rs-mvc-example/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/body-parser.git` [INFO] [stderr] Updating git repository `https://github.com/iron/logger.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] [stderr] Updating git repository `https://github.com/iron/router.git` [INFO] [stderr] Updating git repository `https://github.com/iron/staticfile.git` [INFO] [stderr] Updating git repository `https://github.com/iron/urlencoded.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/body-parser.git` [INFO] [stderr] Updating git repository `https://github.com/iron/logger.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] [stderr] Updating git repository `https://github.com/iron/router.git` [INFO] [stderr] Updating git repository `https://github.com/iron/staticfile.git` [INFO] [stderr] Updating git repository `https://github.com/iron/urlencoded.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing lbdremy/rs-mvc-example 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-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/lbdremy/rs-mvc-example:/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] 3e1f5c331a0ea7c5570d1c4ef4451c47678960a8cc2bfd2bb83e76bd9213a622 [INFO] running `"docker" "start" "-a" "3e1f5c331a0ea7c5570d1c4ef4451c47678960a8cc2bfd2bb83e76bd9213a622"` [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 (https://github.com/iron/logger.git#59873ba2) [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling bodyparser v0.8.0 (https://github.com/iron/body-parser.git#49ae53cd) [INFO] [stderr] Compiling staticfile v0.5.0 (https://github.com/iron/staticfile.git#2bfc7fe5) [INFO] [stderr] Compiling urlencoded v0.6.0 (https://github.com/iron/urlencoded.git#8ad05314) [INFO] [stderr] Compiling iron v0.6.0 (https://github.com/iron/iron#ff3b0ce9) [INFO] [stderr] Compiling mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [INFO] [stderr] Compiling router v0.7.0-pre1 (https://github.com/iron/router.git#ec2c7890) [INFO] [stderr] Compiling mvc-example v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `app::helpers::UserHelper` [INFO] [stderr] --> src/app/controllers/user_controller.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use app::helpers::UserHelper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/app/controllers/user_controller.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | Ok(Response::with((iron::status::Ok))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/app/controllers/user_controller.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | Ok(Response::with((iron::status::Ok))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/app/controllers/user_controller.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | Ok(Response::with((iron::status::Ok))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/app/controllers/user_controller.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(Response::with((iron::status::Ok))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `app::routes::*` [INFO] [stderr] --> src/app/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use app::routes::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `app::*` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use app::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut app::iron::Request<'_, '_>,)>` closure, found `app::routes::router::Router` [INFO] [stderr] --> src/app/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Iron::new(routes::all()).http("localhost:3000").unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected an `Fn<(&mut app::iron::Request<'_, '_>,)>` closure, found `app::routes::router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut app::iron::Request<'s, 't0>,)>` is not implemented for `app::routes::router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `app::iron::Handler` for `app::routes::router::Router` [INFO] [stderr] = note: required by `app::iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut app::iron::Request<'_, '_>,)>` closure, found `app::routes::router::Router` [INFO] [stderr] --> src/app/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Iron::new(routes::all()).http("localhost:3000").unwrap(); [INFO] [stderr] | ^^^^^^^^^ expected an `FnOnce<(&mut app::iron::Request<'_, '_>,)>` closure, found `app::routes::router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut app::iron::Request<'_, '_>,)>` is not implemented for `app::routes::router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `app::iron::Handler` for `app::routes::router::Router` [INFO] [stderr] = note: required by `app::iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `http` found for type `app::iron::Iron` in the current scope [INFO] [stderr] --> src/app/mod.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | Iron::new(routes::all()).http("localhost:3000").unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `http` exists but the following trait bounds were not satisfied: [INFO] [stderr] `app::routes::router::Router : app::iron::Handler` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/app/routes.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | router.post("/users", UserController::create); [INFO] [stderr] | ^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/app/routes.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | router.get("/users/:id", UserController::read); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/app/routes.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | router.put("/users/:id", UserController::update); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/app/routes.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | router.delete("/users/:id", UserController::delete); [INFO] [stderr] | ^^^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/app/routes.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | router.get("/users", UserController::read_all); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `mvc-example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3e1f5c331a0ea7c5570d1c4ef4451c47678960a8cc2bfd2bb83e76bd9213a622"` [INFO] running `"docker" "rm" "-f" "3e1f5c331a0ea7c5570d1c4ef4451c47678960a8cc2bfd2bb83e76bd9213a622"` [INFO] [stdout] 3e1f5c331a0ea7c5570d1c4ef4451c47678960a8cc2bfd2bb83e76bd9213a622