[INFO] updating cached repository https://github.com/michiel/xds-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] d072b76fbfd032ce856d3638247f051c46d0c5fa [INFO] testing michiel/xds-rust against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichiel%2Fxds-rust" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michiel/xds-rust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/michiel/xds-rust [INFO] finished tweaking git repo https://github.com/michiel/xds-rust [INFO] tweaked toml for git repo https://github.com/michiel/xds-rust written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/michiel/xds-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "build" "--frozen"` [INFO] [stdout] 7ce42977f8b1f6994844409ec2ab3a0275e3512525296a05ec194ce296660b9f [INFO] running `"docker" "start" "-a" "7ce42977f8b1f6994844409ec2ab3a0275e3512525296a05ec194ce296660b9f"` [INFO] [stderr] Compiling futures v0.1.20 [INFO] [stderr] Compiling serde v1.0.36 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling bytecount v0.2.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.2.13 [INFO] [stderr] Compiling crossbeam-epoch v0.2.0 [INFO] [stderr] Compiling uuid v0.6.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling chrono v0.4.1 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling mio-uds v0.6.4 [INFO] [stderr] Compiling url v1.7.0 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling http v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] warning[E0713]: borrow may still be in use when destructor runs [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.7.0/src/form_urlencoded.rs:261:40 [INFO] [stderr] | [INFO] [stderr] 259 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stderr] 261 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stderr] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stderr] | | [INFO] [stderr] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling serde_derive_internals v0.22.2 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-executor v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling h2 v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.36 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling actix_derive v0.2.0 [INFO] [stderr] Compiling juniper_codegen v0.9.2 [INFO] [stderr] Compiling tokio v0.1.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-core v0.1.16 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling tokio-signal v0.1.5 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling cookie v0.10.1 [INFO] [stderr] Compiling juniper v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.3.2 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling cargo_metadata v0.3.3 [INFO] [stderr] Compiling skeptic v0.13.2 [INFO] [stderr] Compiling infer_schema_internals v1.1.0 [INFO] [stderr] Compiling trust-dns-resolver v0.8.1 [INFO] [stderr] Compiling actix v0.5.5 [INFO] [stderr] Compiling actix-web v0.4.10 [INFO] [stderr] Compiling infer_schema_macros v1.1.0 [INFO] [stderr] Compiling diesel_infer_schema v1.1.0 [INFO] [stderr] Compiling xds v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `db::todos` [INFO] [stderr] --> src/models.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use db::todos; [INFO] [stderr] | ^^^^^^^^^ no `todos` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `db::todos` [INFO] [stderr] --> src/schema.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | use ::db::todos::dsl; [INFO] [stderr] | ^^^^^ could not find `todos` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `db::todos` [INFO] [stderr] --> src/schema.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | use ::db::todos::dsl; [INFO] [stderr] | ^^^^^ could not find `todos` in `db` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `db::todos` [INFO] [stderr] --> src/schema.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | use ::db::todos::dsl; [INFO] [stderr] | ^^^^^ could not find `todos` in `db` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `jtry!` in this scope [INFO] [stderr] --> src/schema.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | let updated = jtry!(diesel::update(dsl::todos.find(id)) [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `try` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `jtry!` in this scope [INFO] [stderr] --> src/schema.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | Ok(Some(jtry!(dsl::todos.find(id) [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `try` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `todos` in `db` [INFO] [stderr] --> src/schema.rs:59:50 [INFO] [stderr] | [INFO] [stderr] 59 | diesel::insert(&new_post).into(::db::todos::table) [INFO] [stderr] | ^^^^^ could not find `todos` in `db` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `insert` in crate `diesel` [INFO] [stderr] --> src/schema.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | diesel::insert(&new_post).into(::db::todos::table) [INFO] [stderr] | ^^^^^^ not found in `diesel` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:75:44 [INFO] [stderr] | [INFO] [stderr] 75 | fn graphql(req: HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:62:47 [INFO] [stderr] | [INFO] [stderr] 62 | let res = msg.0.execute(&self.schema, &()); [INFO] [stderr] | ^^^ expected struct `schema::Context`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `&schema::Context` [INFO] [stderr] found type `&()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_field_err` found for type `std::result::Result<_, _>` in the current scope [INFO] [stderr] --> src/schema.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | }).to_field_err() [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `xds`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7ce42977f8b1f6994844409ec2ab3a0275e3512525296a05ec194ce296660b9f"` [INFO] running `"docker" "rm" "-f" "7ce42977f8b1f6994844409ec2ab3a0275e3512525296a05ec194ce296660b9f"` [INFO] [stdout] 7ce42977f8b1f6994844409ec2ab3a0275e3512525296a05ec194ce296660b9f