[INFO] cloning repository https://github.com/Modulus/network-devices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Modulus/network-devices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fnetwork-devices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fnetwork-devices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ebeff1eba411bafc1848bb36d197328f5866915 [INFO] testing Modulus/network-devices against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fnetwork-devices" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Modulus/network-devices 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/Modulus/network-devices [INFO] finished tweaking git repo https://github.com/Modulus/network-devices [INFO] tweaked toml for git repo https://github.com/Modulus/network-devices written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Modulus/network-devices 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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 38764708ac2e96d5831df8a9380ad2f7e5a9c296daa26dae88b653ea643c32ab [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" "38764708ac2e96d5831df8a9380ad2f7e5a9c296daa26dae88b653ea643c32ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38764708ac2e96d5831df8a9380ad2f7e5a9c296daa26dae88b653ea643c32ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38764708ac2e96d5831df8a9380ad2f7e5a9c296daa26dae88b653ea643c32ab", kill_on_drop: false }` [INFO] [stdout] 38764708ac2e96d5831df8a9380ad2f7e5a9c296daa26dae88b653ea643c32ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] ea49486b4d338eceaed2b5665e3e2f5788df69bdf17b254e453ff28e84975278 [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" "ea49486b4d338eceaed2b5665e3e2f5788df69bdf17b254e453ff28e84975278", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling actix-service v2.0.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.3 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling actix-server v2.0.0-beta.5 [INFO] [stderr] Compiling actix-codec v0.4.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.7 [INFO] [stderr] Compiling sqlx-core v0.5.7 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Compiling zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Compiling sqlx v0.5.7 [INFO] [stderr] Compiling actix-http v3.0.0-beta.9 [INFO] [stderr] Compiling actix-web v4.0.0-beta.8 [INFO] [stderr] Compiling network-devices v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/site.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 45 | | r#"INSERT INTO devices ( name, domain, address, icon, comment ) [INFO] [stdout] 46 | | VALUES ( $1, $2, $3, $4, $5) [INFO] [stdout] 47 | | RETURNING name"#, [INFO] [stdout] ... | [INFO] [stdout] 52 | | device.comment [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/site.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let all_devices = sqlx::query!("SELECT * FROM devices") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive::Serialize` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Ready` [INFO] [stdout] --> src/site.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `dev` [INFO] [stdout] --> src/site.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, dev}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `put` [INFO] [stdout] --> src/site.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{web, Responder, web::Json, delete, get, post, put, HttpResponse}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::Logger` [INFO] [stdout] --> src/site.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::middleware::Logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Postgres` [INFO] [stdout] --> src/site.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::{PgPool, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/site.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Env` [INFO] [stdout] --> src/site.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use env_logger::Env; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::PgPoolOptions` [INFO] [stdout] --> src/site.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `actix_web::App::::data`: Use `.app_data(Data::new(val))` instead. [INFO] [stdout] --> src/main.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | actix_web::App::new().data(pool.clone()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `network-devices` due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea49486b4d338eceaed2b5665e3e2f5788df69bdf17b254e453ff28e84975278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea49486b4d338eceaed2b5665e3e2f5788df69bdf17b254e453ff28e84975278", kill_on_drop: false }` [INFO] [stdout] ea49486b4d338eceaed2b5665e3e2f5788df69bdf17b254e453ff28e84975278