[INFO] updating cached repository https://github.com/VentGrey/rust-toy-api [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] c58be8137962b4729ab0a1dbd8be364257179acf [INFO] checking VentGrey/rust-toy-api against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frust-toy-api" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VentGrey/rust-toy-api 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/VentGrey/rust-toy-api [INFO] finished tweaking git repo https://github.com/VentGrey/rust-toy-api [INFO] tweaked toml for git repo https://github.com/VentGrey/rust-toy-api written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/VentGrey/rust-toy-api 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: Patch `rocket v0.4.0-dev (https://github.com/SergioBenitez/Rocket.git?rev=ad0ba0d#ad0ba0d5)` was not used in the crate graph. [INFO] [stderr] Patch `rocket_contrib v0.4.0-dev (https://github.com/SergioBenitez/Rocket.git?rev=ad0ba0d#ad0ba0d5)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] d4e8f12f8d8a03dd640d860bde3339504a5c2d281bf84e1f489844fd63018147 [INFO] running `"docker" "start" "-a" "d4e8f12f8d8a03dd640d860bde3339504a5c2d281bf84e1f489844fd63018147"` [INFO] [stderr] warning: Patch `rocket v0.4.0-dev (https://github.com/SergioBenitez/Rocket.git?rev=ad0ba0d#ad0ba0d5)` was not used in the crate graph. [INFO] [stderr] Patch `rocket_contrib v0.4.0-dev (https://github.com/SergioBenitez/Rocket.git?rev=ad0ba0d#ad0ba0d5)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking scheduled-thread-pool v0.2.3 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.14 [INFO] [stderr] Checking regex v1.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling cookie v0.11.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking dotenv v0.13.0 (https://github.com/apiraino/rust-dotenv.git#a2888681) [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking rocket_contrib v0.4.2 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin, custom_derive, const_fn, decl_macro, custom_attribute, proc_macro_hygiene)] [INFO] [stderr] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: subsumed by `#[proc_macro_derive]` [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:57 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin, custom_derive, const_fn, decl_macro, custom_attribute, proc_macro_hygiene)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin, custom_derive, const_fn, decl_macro, custom_attribute, proc_macro_hygiene)] [INFO] [stderr] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: subsumed by `#[proc_macro_derive]` [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:57 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin, custom_derive, const_fn, decl_macro, custom_attribute, proc_macro_hygiene)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `schema` [INFO] [stderr] --> src/models.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use schema::books::dsl::books as all_books; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `schema` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `schema` [INFO] [stderr] --> src/models.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use schema::books::dsl::{author as a, published as p, title as t}; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `schema` [INFO] [stderr] --> src/models.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use schema::books; [INFO] [stderr] | ^^^^^^ help: a similar path exists: `crate::schema` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `db` [INFO] [stderr] --> src/routes.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use db::Conn as DbConn; [INFO] [stderr] | ^^ help: a similar path exists: `crate::db` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `schema` [INFO] [stderr] --> src/models.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use schema::books::dsl::books as all_books; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `schema` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `schema` [INFO] [stderr] --> src/models.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use schema::books::dsl::{author as a, published as p, title as t}; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `schema` [INFO] [stderr] --> src/models.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use schema::books; [INFO] [stderr] | ^^^^^^ help: a similar path exists: `crate::schema` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `db` [INFO] [stderr] --> src/routes.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use db::Conn as DbConn; [INFO] [stderr] | ^^ help: a similar path exists: `crate::db` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | diesel::update(all_books.find(id)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `a` in this scope [INFO] [stderr] --> src/models.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p` in this scope [INFO] [stderr] --> src/models.rs:48:33 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `t` in this scope [INFO] [stderr] --> src/models.rs:48:50 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | diesel::delete(all_books.find(id)).execute(conn).is_ok() [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | diesel::update(all_books.find(id)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `a` in this scope [INFO] [stderr] --> src/models.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p` in this scope [INFO] [stderr] --> src/models.rs:48:33 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `t` in this scope [INFO] [stderr] --> src/models.rs:48:50 [INFO] [stderr] | [INFO] [stderr] 48 | .set((a.eq(author), p.eq(published), t.eq(title))) [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | diesel::delete(all_books.find(id)).execute(conn).is_ok() [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `all_books` in this scope [INFO] [stderr] --> src/models.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | all_books [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `api`. [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: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `api`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d4e8f12f8d8a03dd640d860bde3339504a5c2d281bf84e1f489844fd63018147"` [INFO] running `"docker" "rm" "-f" "d4e8f12f8d8a03dd640d860bde3339504a5c2d281bf84e1f489844fd63018147"` [INFO] [stdout] d4e8f12f8d8a03dd640d860bde3339504a5c2d281bf84e1f489844fd63018147