[INFO] cloning repository https://github.com/Wyyshnya/Messenger_rust_react [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wyyshnya/Messenger_rust_react" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWyyshnya%2FMessenger_rust_react", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWyyshnya%2FMessenger_rust_react'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dd93f8eaf814db5121c1819b252e8a5d2f3afef [INFO] testing Wyyshnya/Messenger_rust_react against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWyyshnya%2FMessenger_rust_react" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wyyshnya/Messenger_rust_react 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/Wyyshnya/Messenger_rust_react [INFO] finished tweaking git repo https://github.com/Wyyshnya/Messenger_rust_react [INFO] tweaked toml for git repo https://github.com/Wyyshnya/Messenger_rust_react written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Wyyshnya/Messenger_rust_react 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-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" "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] 0ecea7ae68fa89f2ead222f9ca66ac9772319771de22039627f4216042e6f746 [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" "0ecea7ae68fa89f2ead222f9ca66ac9772319771de22039627f4216042e6f746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ecea7ae68fa89f2ead222f9ca66ac9772319771de22039627f4216042e6f746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ecea7ae68fa89f2ead222f9ca66ac9772319771de22039627f4216042e6f746", kill_on_drop: false }` [INFO] [stdout] 0ecea7ae68fa89f2ead222f9ca66ac9772319771de22039627f4216042e6f746 [INFO] running `Command { std: "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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d3796fca943a9f08653b0d1f35cdd0a7865347e6ec18d1ebfb4d88e54739928 [INFO] running `Command { std: "docker" "start" "-a" "5d3796fca943a9f08653b0d1f35cdd0a7865347e6ec18d1ebfb4d88e54739928", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling argon2rs v0.2.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling aci v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/auth_handler.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn logout(id: Identity) -> HttpResponse { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 87 | [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/db.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | embed_migrations!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error reading migrations: Unable to find migrations directory in this directory or any parent directories. [INFO] [stdout] = note: this error originates in the macro `embed_migrations` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Unexpected::Option` [INFO] [stdout] --> src/db/models/user_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::Unexpected::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/db/models.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod user_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chats`, `User`, `establish_connection` [INFO] [stdout] --> src/db/models/user_test.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db::{establish_connection, models::{User, Chats}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/db/models.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod user_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pg` [INFO] [stdout] --> src/db.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::pg::{Pg, PgConnection}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/db.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `db_pool` should have an upper camel case name [INFO] [stdout] --> src/db.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type db_pool = Pool>; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `DbPool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `HttpRequest` [INFO] [stdout] --> src/auth_handler.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, Result, HttpResponse, HttpRequest, Error, FromRequest}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::StatusCode` [INFO] [stdout] --> src/auth_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieIdentityPolicy`, `IdentityService`, `RequestIdentity` [INFO] [stdout] --> src/auth_handler.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_identity::{Identity, IdentityService, CookieIdentityPolicy, RequestIdentity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/auth_handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/auth_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `Result`, `error::Error` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{error::Error, web, http, Responder, App, HttpServer, Result, HttpResponse, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::StatusCode` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::block` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::web::block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthUser`, `reg` [INFO] [stdout] --> src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::auth_handler::{AuthUser, reg}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestIdentity` [INFO] [stdout] --> src/lib.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_identity::{Identity, IdentityService, CookieIdentityPolicy, RequestIdentity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::types::Json` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Messages` [INFO] [stdout] --> src/lib.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::db::models::{Chats, MessageContent, Messages}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `diesel::types::Json`: Use `sql_types::Json` instead [INFO] [stdout] --> src/lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use diesel::types::Json; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut messages = db::models::Messages::by_id(id, &conn).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aci` due to 3 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d3796fca943a9f08653b0d1f35cdd0a7865347e6ec18d1ebfb4d88e54739928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d3796fca943a9f08653b0d1f35cdd0a7865347e6ec18d1ebfb4d88e54739928", kill_on_drop: false }` [INFO] [stdout] 5d3796fca943a9f08653b0d1f35cdd0a7865347e6ec18d1ebfb4d88e54739928