[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftx991020%2Factix-sqlx" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tx991020/actix-sqlx on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-11/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json5 v0.2.7 [INFO] [stderr] Downloaded redis v0.15.1 [INFO] [stderr] Downloaded awc v2.0.0-beta.2 [INFO] [stderr] Downloaded os_info v2.0.7 [INFO] [stderr] Downloaded actix-http v2.0.0-beta.2 [INFO] [stderr] Downloaded actix-web v3.0.0-beta.1 [INFO] [stderr] Downloaded nonblock-logger v0.1.5 [INFO] [stderr] Downloaded mobc-redis v0.5.2 [INFO] [stderr] Downloaded wither_derive v0.9.0-alpha.1 [INFO] [stderr] Downloaded mobc v0.5.10 [INFO] [stderr] Downloaded wither v0.9.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78080720817b95df27eb0f1e8b6d30a3e2468867cc3f0f37ad1083c18cbaf816 [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" "78080720817b95df27eb0f1e8b6d30a3e2468867cc3f0f37ad1083c18cbaf816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78080720817b95df27eb0f1e8b6d30a3e2468867cc3f0f37ad1083c18cbaf816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78080720817b95df27eb0f1e8b6d30a3e2468867cc3f0f37ad1083c18cbaf816", kill_on_drop: false }` [INFO] [stdout] 78080720817b95df27eb0f1e8b6d30a3e2468867cc3f0f37ad1083c18cbaf816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c85da9da06ad27cfbdb173c766cd6c304bc31ecfb828f53f6627305a3bf62ca7 [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" "c85da9da06ad27cfbdb173c766cd6c304bc31ecfb828f53f6627305a3bf62ca7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling tinyvec v0.3.3 [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 thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [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 unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling os_info v2.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling bcrypt v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [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 typed-builder v0.3.0 [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 serde_derive v1.0.111 [INFO] [stderr] Compiling tokio-macros v0.2.5 [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 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 tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling err-derive v0.2.4 [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_macro v0.10.2 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling serde v1.0.111 [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 actix-codec v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [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 mobc v0.5.10 [INFO] [stderr] Compiling actix-utils v1.0.6 [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 serde_urlencoded v0.6.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [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 trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling nonblock-logger v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling bson v1.0.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.1 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling actix-connect v2.0.0-alpha.3 [INFO] [stderr] Compiling mobc-redis v0.5.2 [INFO] [stderr] Compiling actixweb-sqlx-jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mongodb v1.0.0 [INFO] [stderr] Compiling actix-http v2.0.0-beta.2 [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" "c85da9da06ad27cfbdb173c766cd6c304bc31ecfb828f53f6627305a3bf62ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85da9da06ad27cfbdb173c766cd6c304bc31ecfb828f53f6627305a3bf62ca7", kill_on_drop: false }` [INFO] [stdout] c85da9da06ad27cfbdb173c766cd6c304bc31ecfb828f53f6627305a3bf62ca7