[INFO] cloning repository https://github.com/romainbellande/rust-hyper-jsonapi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romainbellande/rust-hyper-jsonapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 610e9fa063204a3cb3c38078c6d510da82e6f168 [INFO] checking romainbellande/rust-hyper-jsonapi against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromainbellande%2Frust-hyper-jsonapi" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romainbellande/rust-hyper-jsonapi on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-14/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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-14/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 873d8a6083fa75a03a4e709a129f218d181778a2ef77b8b5ba7010a108b4921c [INFO] running `"docker" "start" "-a" "873d8a6083fa75a03a4e709a129f218d181778a2ef77b8b5ba7010a108b4921c"` [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] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling syn v0.11.11 [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.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [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] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.4 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking envy v0.3.3 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking japi v0.3.2 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking 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[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.106/src/ser/mod.rs:246:8 [INFO] [stderr] | [INFO] [stderr] 246 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [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.106/src/ser/mod.rs:246:8 [INFO] [stderr] | [INFO] [stderr] 246 | 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" "873d8a6083fa75a03a4e709a129f218d181778a2ef77b8b5ba7010a108b4921c"` [INFO] running `"docker" "rm" "-f" "873d8a6083fa75a03a4e709a129f218d181778a2ef77b8b5ba7010a108b4921c"` [INFO] [stdout] 873d8a6083fa75a03a4e709a129f218d181778a2ef77b8b5ba7010a108b4921c