[INFO] updating cached repository https://github.com/romainbellande/rust-hyper-jsonapi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 610e9fa063204a3cb3c38078c6d510da82e6f168 [INFO] testing romainbellande/rust-hyper-jsonapi against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romainbellande/rust-hyper-jsonapi on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/romainbellande/rust-hyper-jsonapi [INFO] removed path dependency japi from git repo https://github.com/romainbellande/rust-hyper-jsonapi [INFO] finished tweaking git repo https://github.com/romainbellande/rust-hyper-jsonapi [INFO] tweaked toml for git repo https://github.com/romainbellande/rust-hyper-jsonapi written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/romainbellande/rust-hyper-jsonapi already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (japi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (japi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 8d30a3d49c8ac88f2e9d637adafe1fd1bf5de962fa631a659a31064345526916 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8d30a3d49c8ac88f2e9d637adafe1fd1bf5de962fa631a659a31064345526916"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (japi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling envy v0.3.3 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling japi v0.3.2 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling jsonapi-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `japi::model` [INFO] [stderr] --> src/modules/hero/model.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use japi::model::JApiModel; [INFO] [stderr] | ^^^^^ could not find `model` in `japi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `japi::japi_model` [INFO] [stderr] --> src/modules/hero/model.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use japi::japi_model; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `japi_model` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `japi::api` [INFO] [stderr] --> src/modules/hero/controller.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | use japi::api::{DocumentDto}; [INFO] [stderr] | ^^^ could not find `api` in `japi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `japi::model` [INFO] [stderr] --> src/modules/hero/controller.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | use japi::model::JApiModel; [INFO] [stderr] | ^^^^^ could not find `model` in `japi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `japi::controller` [INFO] [stderr] --> src/modules/hero/controller.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | use japi::controller::Controller; [INFO] [stderr] | ^^^^^^^^^^ could not find `controller` in `japi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `japi::query` [INFO] [stderr] --> src/modules/hero/controller.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use japi::query::{build_japi_reponse}; [INFO] [stderr] | ^^^^^ could not find `query` in `japi` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `japi_model` [INFO] [stderr] --> src/modules/hero/model.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | japi_model!(Hero; "hero"); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helpers.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | pub type BoxFuture = Box, Error=hyper::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `serialize` found for reference `&modules::hero::model::Hero` in the current scope [INFO] [stderr] --> src/modules/hero/controller.rs:17:84 [INFO] [stderr] | [INFO] [stderr] 17 | let serialized_heroes: Vec<_> = Hero::read(&connection).iter().map(|hero| hero.serialize()).collect(); [INFO] [stderr] | ^^^^^^^^^ method not found in `&modules::hero::model::Hero` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use crate::serde::Serialize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `serialize` found for struct `modules::hero::model::Hero` in the current scope [INFO] [stderr] | [INFO] [stderr] ::: src/modules/hero/model.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Hero { [INFO] [stderr] | --------------- method `serialize` not found for this [INFO] [stderr] --> src/modules/hero/controller.rs:29:56 [INFO] [stderr] | [INFO] [stderr] 29 | let data = Hero::create(hero_dto, &connection).serialize(); [INFO] [stderr] | ^^^^^^^^^ method not found in `modules::hero::model::Hero` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.111/src/ser/mod.rs:247:8 [INFO] [stderr] | [INFO] [stderr] 247 | fn serialize(&self, serializer: S) -> Result [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use crate::serde::Serialize;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `jsonapi-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8d30a3d49c8ac88f2e9d637adafe1fd1bf5de962fa631a659a31064345526916"` [INFO] running `"docker" "rm" "-f" "8d30a3d49c8ac88f2e9d637adafe1fd1bf5de962fa631a659a31064345526916"` [INFO] [stdout] 8d30a3d49c8ac88f2e9d637adafe1fd1bf5de962fa631a659a31064345526916