[INFO] cloning repository https://github.com/VentGrey/rust-toy-api [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VentGrey/rust-toy-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frust-toy-api"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frust-toy-api'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1f01d72b1b604f011734b18f8781af9afcc66023 [INFO] checking VentGrey/rust-toy-api against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVentGrey%2Frust-toy-api" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VentGrey/rust-toy-api on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-0/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Rocket.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/apiraino/rust-dotenv.git` [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] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Rocket.git` [INFO] [stderr] Updating git repository `https://github.com/apiraino/rust-dotenv.git` [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 `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 8c7ea2fecdc54550bdc60df09fca3b95eaf3ac94c2c510354622779e77c82a49 [INFO] running `"docker" "start" "-a" "8c7ea2fecdc54550bdc60df09fca3b95eaf3ac94c2c510354622779e77c82a49"` [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 proc-macro2 v0.4.30 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking dotenv v0.13.0 (https://github.com/apiraino/rust-dotenv.git#a2888681) [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Checking rocket v0.4.2 [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] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `#[proc_macro_derive]` [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] | ^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `#[proc_macro_derive]` [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] | ^^^^^^^^^^^^^ [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: aborting due to 13 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] warning: build failed, waiting for other jobs to finish... [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: aborting due to 13 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" "8c7ea2fecdc54550bdc60df09fca3b95eaf3ac94c2c510354622779e77c82a49"` [INFO] running `"docker" "rm" "-f" "8c7ea2fecdc54550bdc60df09fca3b95eaf3ac94c2c510354622779e77c82a49"` [INFO] [stdout] 8c7ea2fecdc54550bdc60df09fca3b95eaf3ac94c2c510354622779e77c82a49