[INFO] cloning repository https://github.com/tx991020/actix-sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tx991020/actix-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftx991020%2Factix-sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftx991020%2Factix-sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87d5e80ea957167d1322ef1a199db6c903ece42c [INFO] testing tx991020/actix-sqlx against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftx991020%2Factix-sqlx" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tx991020/actix-sqlx on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tx991020/actix-sqlx [INFO] finished tweaking git repo https://github.com/tx991020/actix-sqlx [INFO] tweaked toml for git repo https://github.com/tx991020/actix-sqlx written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tx991020/actix-sqlx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c6c9cad3e18954b1171a3234c6d953bfef2fb60e8d430a2fdd71bd590f987b [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" "83c6c9cad3e18954b1171a3234c6d953bfef2fb60e8d430a2fdd71bd590f987b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c6c9cad3e18954b1171a3234c6d953bfef2fb60e8d430a2fdd71bd590f987b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c6c9cad3e18954b1171a3234c6d953bfef2fb60e8d430a2fdd71bd590f987b", kill_on_drop: false }` [INFO] [stdout] 83c6c9cad3e18954b1171a3234c6d953bfef2fb60e8d430a2fdd71bd590f987b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 141cfc20fd92f1a17069058e6807fe1603bb04a384666ce6fda599b407388fdf [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" "141cfc20fd92f1a17069058e6807fe1603bb04a384666ce6fda599b407388fdf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling os_info v2.0.7 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling bcrypt v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling actix-web-codegen v0.3.0-beta.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling mobc v0.5.10 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v2.0.0-alpha.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling json5 v0.2.7 [INFO] [stderr] Compiling serde_qs v0.6.1 [INFO] [stderr] Compiling wither_derive v0.9.0-alpha.1 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling nonblock-logger v0.1.5 [INFO] [stderr] Compiling bson v1.0.0 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.1 [INFO] [stderr] Compiling mobc-redis v0.5.2 [INFO] [stderr] Compiling actix-connect v2.0.0-alpha.3 [INFO] [stderr] Compiling actixweb-sqlx-jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling actix-http v2.0.0-beta.2 [INFO] [stderr] Compiling mongodb v1.0.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling awc v2.0.0-beta.2 [INFO] [stderr] Compiling actix-web v3.0.0-beta.1 [INFO] [stderr] Compiling wither v0.9.0-alpha.1 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stdout] error: failed to connect to database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/dao/user.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | INSERT INTO users (name, email, pass) [INFO] [stdout] 83 | | VALUES ($1 ,$2 ,$3) [INFO] [stdout] ... | [INFO] [stdout] 87 | | passh [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/dao/user.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query_as!( [INFO] [stdout] 101 | | User, [INFO] [stdout] 102 | | r#" [INFO] [stdout] 103 | | SELECT id, name, email, pass, create_dt, update_dt [INFO] [stdout] ... | [INFO] [stdout] 107 | | name [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/dao/todo.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let recs = sqlx::query_as!(Todo," SELECT * FROM todo order by id desc limit 10") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to connect to database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/dao/todo.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | let res = sqlx::query_as!(Todo, [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | SELECT * FROM todo WHERE id = $1 [INFO] [stdout] 44 | | "#, [INFO] [stdout] 45 | | id [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wither::mongodb::Client as MgoClient` [INFO] [stdout] --> src/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wither::mongodb::Client as MgoClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wither::mongodb::Database` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wither::mongodb::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `ready` [INFO] [stdout] --> src/dao/todo.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{ready, Ready}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/handlers/todo.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{delete, get, post, put, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actixweb-sqlx-jwt` due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "141cfc20fd92f1a17069058e6807fe1603bb04a384666ce6fda599b407388fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "141cfc20fd92f1a17069058e6807fe1603bb04a384666ce6fda599b407388fdf", kill_on_drop: false }` [INFO] [stdout] 141cfc20fd92f1a17069058e6807fe1603bb04a384666ce6fda599b407388fdf