[INFO] updating cached repository NotBad4U/Niepce [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/NotBad4U/Niepce [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/NotBad4U/Niepce" "work/ex/beta-1.37-6/sources/1.36.0/gh/NotBad4U/Niepce"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/NotBad4U/Niepce'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NotBad4U/Niepce" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/NotBad4U/Niepce"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/NotBad4U/Niepce'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1475bd70c119840f839b66382e77966dd2b68308 [INFO] sha for GitHub repo NotBad4U/Niepce: 1475bd70c119840f839b66382e77966dd2b68308 [INFO] validating manifest of NotBad4U/Niepce on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NotBad4U/Niepce on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing NotBad4U/Niepce [INFO] finished frobbing NotBad4U/Niepce [INFO] frobbed toml for NotBad4U/Niepce written to work/ex/beta-1.37-6/sources/1.36.0/gh/NotBad4U/Niepce/Cargo.toml [INFO] started frobbing NotBad4U/Niepce [INFO] finished frobbing NotBad4U/Niepce [INFO] frobbed toml for NotBad4U/Niepce written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/NotBad4U/Niepce/Cargo.toml [INFO] crate NotBad4U/Niepce already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing NotBad4U/Niepce against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/NotBad4U/Niepce:/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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] ba98fbd76690f888f268b1da9fa998039657a22fa6291b5bdb00007538d625bf [INFO] running `"docker" "start" "-a" "ba98fbd76690f888f268b1da9fa998039657a22fa6291b5bdb00007538d625bf"` [INFO] [stderr] Compiling quote v0.3.14 [INFO] [stderr] Compiling serde v0.9.9 [INFO] [stderr] Compiling linked-hash-map v0.4.1 [INFO] [stderr] Compiling hostname v0.1.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling textnonce v0.4.1 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling env_logger v0.4.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling iron v0.5.1 [INFO] [stderr] Compiling semver-parser v0.6.2 [INFO] [stderr] Compiling syn v0.11.8 [INFO] [stderr] Compiling persistent v0.3.0 [INFO] [stderr] Compiling router v0.5.1 [INFO] [stderr] Compiling logger v0.3.0 [INFO] [stderr] Compiling mount v0.3.0 [INFO] [stderr] Compiling semver v0.5.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.1 [INFO] [stderr] Compiling serde_derive v0.9.10 [INFO] [stderr] Compiling jwt v0.4.0 [INFO] [stderr] Compiling serde_json v0.9.8 [INFO] [stderr] Compiling bson v0.4.3 [INFO] [stderr] Compiling bodyparser v0.6.0 [INFO] [stderr] Compiling mongodb v0.2.2 [INFO] [stderr] Compiling Niepce v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `iron::status` [INFO] [stderr] --> src/api/users/handlers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use iron::status; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `api::users::model` [INFO] [stderr] --> src/api/users/handlers.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use api::users::model; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppDB` [INFO] [stderr] --> src/api/users/model.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use AppDB; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mongodb::ThreadedClient` [INFO] [stderr] --> src/api/users/model.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::ThreadedClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mongodb::db::ThreadedDatabase` [INFO] [stderr] --> src/api/users/model.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use mongodb::db::ThreadedDatabase; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::Bson` [INFO] [stderr] --> src/api/users/model.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bson::Bson; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/common/errors.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/api/users/model.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | Ok(()) [INFO] [stderr] | ^^ expected struct `api::users::model::UserModel`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `api::users::model::UserModel` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/api/users/model.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | Ok(()) [INFO] [stderr] | ^^ expected struct `std::vec::Vec`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/middlewares/authenticator.rs:57:44 [INFO] [stderr] | [INFO] [stderr] 57 | error!("Caused by {:?} -- {}", err.cause(), err.description()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/middlewares/common_header.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | error!("Caused by {:?} -- {}", err.cause(), err.description()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `Niepce`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ba98fbd76690f888f268b1da9fa998039657a22fa6291b5bdb00007538d625bf"` [INFO] running `"docker" "rm" "-f" "ba98fbd76690f888f268b1da9fa998039657a22fa6291b5bdb00007538d625bf"` [INFO] [stdout] ba98fbd76690f888f268b1da9fa998039657a22fa6291b5bdb00007538d625bf