[INFO] updating cached repository https://github.com/ThePesta/alessandro-vs-code-y-u-no-work [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8473f26b0a8416dffc45445681f604dd4228d6e4 [INFO] testing ThePesta/alessandro-vs-code-y-u-no-work against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePesta%2Falessandro-vs-code-y-u-no-work" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePesta/alessandro-vs-code-y-u-no-work on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThePesta/alessandro-vs-code-y-u-no-work [INFO] finished tweaking git repo https://github.com/ThePesta/alessandro-vs-code-y-u-no-work [INFO] tweaked toml for git repo https://github.com/ThePesta/alessandro-vs-code-y-u-no-work written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ThePesta/alessandro-vs-code-y-u-no-work already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c8df53977d618c8e8d300983e5575b5aea7e33263d5125a5837b0c73cbc9601 [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" "2c8df53977d618c8e8d300983e5575b5aea7e33263d5125a5837b0c73cbc9601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8df53977d618c8e8d300983e5575b5aea7e33263d5125a5837b0c73cbc9601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8df53977d618c8e8d300983e5575b5aea7e33263d5125a5837b0c73cbc9601", kill_on_drop: false }` [INFO] [stdout] 2c8df53977d618c8e8d300983e5575b5aea7e33263d5125a5837b0c73cbc9601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8957092a095be244b5d7942ded4a000d0013c1c5346c77d963ebf4efb5492f46 [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" "8957092a095be244b5d7942ded4a000d0013c1c5346c77d963ebf4efb5492f46", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling tokio-postgres v0.5.3 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling postgres v0.17.2 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling give_the_project_the_name v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/app_main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::RunQueryDsl` [INFO] [stdout] --> src/app_main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/island_repository.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `island` [INFO] [stdout] --> src/app_main.rs:65:65 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(island) => { [INFO] [stdout] | ------ move occurs because `island` has type `island::Island`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 64 | match island_repository.save(island) { [INFO] [stdout] | ------ value moved here [INFO] [stdout] 65 | Ok(()) => HttpResponse::Ok().json(Response{ id: island.id }), [INFO] [stdout] | ^^^^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `save` has an incompatible type for trait [INFO] [stdout] --> src/island_repository.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn save(&self, island: Island) { [INFO] [stdout] | ^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: src/island.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | fn save(&self, island: Island) -> Result<(), Box>; [INFO] [stdout] | -------------------------------------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&island_repository::IslandRepositoryPostgres, island::Island) -> std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found fn pointer `fn(&island_repository::IslandRepositoryPostgres, island::Island)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app_main.rs:100:51 [INFO] [stdout] | [INFO] [stdout] 100 | .route("/islands", web::post().to(post_island_request_handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `R` declared on the function `post_island_request_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `diesel::query_builder::InsertStatement>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>), schema::islands::table>>` in the current scope [INFO] [stdout] --> src/island_repository.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | insert_into(islands_dsl).values(&island_row).execute(&self.connection_pool.get().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `diesel::query_builder::InsertStatement>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>), schema::islands::table>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.4/src/query_dsl/mod.rs:1132:8 [INFO] [stdout] | [INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>), schema::islands::table>>>` here [INFO] [stdout] | the method is available for `std::sync::Arc>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>), schema::islands::table>>>` here [INFO] [stdout] | the method is available for `std::rc::Rc>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>, diesel::insertable::ColumnInsertValue>), schema::islands::table>>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::diesel::RunQueryDsl;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0282, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `give_the_project_the_name`. [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: build failed [INFO] running `Command { std: "docker" "inspect" "8957092a095be244b5d7942ded4a000d0013c1c5346c77d963ebf4efb5492f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8957092a095be244b5d7942ded4a000d0013c1c5346c77d963ebf4efb5492f46", kill_on_drop: false }` [INFO] [stdout] 8957092a095be244b5d7942ded4a000d0013c1c5346c77d963ebf4efb5492f46