[INFO] cloning repository https://github.com/SohailHaqyar/go-crud-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SohailHaqyar/go-crud-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1371aec4ae8c3646e058199b8a4457c14d393c02 [INFO] testing SohailHaqyar/go-crud-api against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SohailHaqyar/go-crud-api on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SohailHaqyar/go-crud-api [INFO] finished tweaking git repo https://github.com/SohailHaqyar/go-crud-api [INFO] tweaked toml for git repo https://github.com/SohailHaqyar/go-crud-api written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/SohailHaqyar/go-crud-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f9bbc02afd61879e34a3b43c32cde39c39f024b9ec466edea2fc9c27f2aeddf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f9bbc02afd61879e34a3b43c32cde39c39f024b9ec466edea2fc9c27f2aeddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f9bbc02afd61879e34a3b43c32cde39c39f024b9ec466edea2fc9c27f2aeddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9bbc02afd61879e34a3b43c32cde39c39f024b9ec466edea2fc9c27f2aeddf", kill_on_drop: false }` [INFO] [stdout] 8f9bbc02afd61879e34a3b43c32cde39c39f024b9ec466edea2fc9c27f2aeddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c61033c48e02c9f06b64a5ea39faf27054728beb194d1edaffbce63e0a826f58 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c61033c48e02c9f06b64a5ea39faf27054728beb194d1edaffbce63e0a826f58", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling pes-book-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/bin/posts.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `diesel` in the crate root [INFO] [stdout] --> src/bin/posts.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::diesel::prelude::*; [INFO] [stdout] | ^^^^^^ could not find `diesel` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rocket_uri_macro_get_posts_17708161221907665033`, `rocket_uri_macro_create_post_5220117796950758610`, `rocket_uri_macro_publish_post_12848345748231111799` [INFO] [stdout] --> src/bin/posts.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_posts() -> Json> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn create_post(post: Json) -> Json { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn publish_post(post_id: i32) -> Json { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load` found for struct `table` in the current scope [INFO] [stdout] --> src/bin/posts.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | .load::(&conn) [INFO] [stdout] | ^^^^ method not found in `table` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/query_dsl/mod.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1236 | fn load(self, conn: &Conn) -> QueryResult> [INFO] [stdout] | ---- the method is available for `table` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::RunQueryDsl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_result` found for struct `InsertStatement` in the current scope [INFO] [stdout] --> src/bin/posts.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .get_result(&conn) [INFO] [stdout] | ^^^^^^^^^^ method not found in `InsertStatement>, ColumnInsertValue>), table>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/query_dsl/mod.rs:1286:8 [INFO] [stdout] | [INFO] [stdout] 1286 | fn get_result(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ---------- the method is available for `InsertStatement>, ColumnInsertValue>), table>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::RunQueryDsl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `table` in the current scope [INFO] [stdout] --> src/bin/posts.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | let post = diesel::update(posts.find(post_id)) [INFO] [stdout] | ^^^^ method not found in `table` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::QueryDsl; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::query_dsl::filter_dsl::FindDsl; [INFO] [stdout] | [INFO] [stdout] 6 | use gimli::read::reader::Reader; [INFO] [stdout] | [INFO] [stdout] 6 | use http::header::map::as_header_name::Sealed; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `eq` exists for struct `published`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/posts.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | .set(published.eq(true)) [INFO] [stdout] | ^^ method cannot be called on `published` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | title -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | |_- doesn't satisfy `published: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `published: Iterator` [INFO] [stdout] which is required by `&mut published: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::ExpressionMethods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_result` found for struct `UpdateStatement` in the current scope [INFO] [stdout] --> src/bin/posts.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | .get_result::(&conn) [INFO] [stdout] | ^^^^^^^^^^ method not found in `UpdateStatement<_, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/query_dsl/mod.rs:1286:8 [INFO] [stdout] | [INFO] [stdout] 1286 | fn get_result(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ---------- the method is available for `UpdateStatement<_, _, _>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use crate::posts::diesel::RunQueryDsl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0468, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pes-book-api` due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c61033c48e02c9f06b64a5ea39faf27054728beb194d1edaffbce63e0a826f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61033c48e02c9f06b64a5ea39faf27054728beb194d1edaffbce63e0a826f58", kill_on_drop: false }` [INFO] [stdout] c61033c48e02c9f06b64a5ea39faf27054728beb194d1edaffbce63e0a826f58