[INFO] cloning repository https://github.com/Varun2002/CRUD_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Varun2002/CRUD_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVarun2002%2FCRUD_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVarun2002%2FCRUD_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 901fb1582268c21ab0db35e6c19c63b8fd2bdfde [INFO] testing Varun2002/CRUD_app against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVarun2002%2FCRUD_app" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Varun2002/CRUD_app on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Varun2002/CRUD_app [INFO] finished tweaking git repo https://github.com/Varun2002/CRUD_app [INFO] tweaked toml for git repo https://github.com/Varun2002/CRUD_app written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Varun2002/CRUD_app already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.86 [INFO] [stderr] Downloaded warp v0.3.5 [INFO] [stderr] Downloaded anyhow v1.0.71 [INFO] [stderr] Downloaded sqlb-macros v0.0.5 [INFO] [stderr] Downloaded bumpalo v3.12.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.86 [INFO] [stderr] Downloaded sqlb v0.0.8 [INFO] [stderr] Downloaded web-sys v0.3.63 [INFO] [stderr] Downloaded hashlink v0.8.2 [INFO] [stderr] Downloaded js-sys v0.3.63 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.86 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.86 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.86 [INFO] [stderr] Downloaded pin-project v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92fc7ffb251423e8165747d1886dab75bec7951cda12d48a05ca0c0ada6d506f [INFO] running `Command { std: "docker" "start" "-a" "92fc7ffb251423e8165747d1886dab75bec7951cda12d48a05ca0c0ada6d506f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92fc7ffb251423e8165747d1886dab75bec7951cda12d48a05ca0c0ada6d506f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92fc7ffb251423e8165747d1886dab75bec7951cda12d48a05ca0c0ada6d506f", kill_on_drop: false }` [INFO] [stdout] 92fc7ffb251423e8165747d1886dab75bec7951cda12d48a05ca0c0ada6d506f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d28055305a9af76d7e49725936cb3778d7c33a761e298f8a21216e1d32e87a3 [INFO] running `Command { std: "docker" "start" "-a" "2d28055305a9af76d7e49725936cb3778d7c33a761e298f8a21216e1d32e87a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling proc-macro2 v1.0.58 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashlink v0.8.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.21 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling sqlb-macros v0.0.5 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling warp v0.3.5 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling sqlb v0.0.8 [INFO] [stderr] Compiling web_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PG_HOST` is never used [INFO] [stdout] --> src/model/db.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PG_HOST: &str = "localhost"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_ROOT_DB` is never used [INFO] [stdout] --> src/model/db.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PG_ROOT_DB: &str = "postgres"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_ROOT_USER` is never used [INFO] [stdout] --> src/model/db.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const PG_ROOT_USER: &str = "postgres"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_ROOT_PWD` is never used [INFO] [stdout] --> src/model/db.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const PG_ROOT_PWD: &str = "postgres"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_DB` is never used [INFO] [stdout] --> src/model/db.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PG_APP_DB: &str = "app_db"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_USER` is never used [INFO] [stdout] --> src/model/db.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const PG_APP_USER: &str = "app_user"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_PWD` is never used [INFO] [stdout] --> src/model/db.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const PG_APP_PWD: &str = "app_pwd_to_change"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_MAX_CON` is never used [INFO] [stdout] --> src/model/db.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PG_APP_MAX_CON: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQL_DIR` is never used [INFO] [stdout] --> src/model/db.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SQL_DIR: &str = "sql/"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQL_RECREATE` is never used [INFO] [stdout] --> src/model/db.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SQL_RECREATE: &str = "sql/00-recreate-db.sql"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Db` is never used [INFO] [stdout] --> src/model/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Db = Pool; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/model/db.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn init_db() -> Result{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pexec` is never used [INFO] [stdout] --> src/model/db.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn pexec(db: &Db, file: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_db_pool` is never used [INFO] [stdout] --> src/model/db.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn new_db_pool(host: &str, db: &str, user: &str, pwd: &str, max_con: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "2d28055305a9af76d7e49725936cb3778d7c33a761e298f8a21216e1d32e87a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d28055305a9af76d7e49725936cb3778d7c33a761e298f8a21216e1d32e87a3", kill_on_drop: false }` [INFO] [stdout] 2d28055305a9af76d7e49725936cb3778d7c33a761e298f8a21216e1d32e87a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7d1fdddd816a628f59c8ad2bbb463ee0cc03640c98602ddd082a8c3939a6820 [INFO] running `Command { std: "docker" "start" "-a" "d7d1fdddd816a628f59c8ad2bbb463ee0cc03640c98602ddd082a8c3939a6820", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling web_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PG_APP_DB` is never used [INFO] [stdout] --> src/model/db.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PG_APP_DB: &str = "app_db"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_USER` is never used [INFO] [stdout] --> src/model/db.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const PG_APP_USER: &str = "app_user"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_PWD` is never used [INFO] [stdout] --> src/model/db.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const PG_APP_PWD: &str = "app_pwd_to_change"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PG_APP_MAX_CON` is never used [INFO] [stdout] --> src/model/db.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PG_APP_MAX_CON: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQL_DIR` is never used [INFO] [stdout] --> src/model/db.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SQL_DIR: &str = "sql/"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQL_RECREATE` is never used [INFO] [stdout] --> src/model/db.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SQL_RECREATE: &str = "sql/00-recreate-db.sql"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pexec` is never used [INFO] [stdout] --> src/model/db.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | async fn pexec(db: &Db, file: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.15s [INFO] running `Command { std: "docker" "inspect" "d7d1fdddd816a628f59c8ad2bbb463ee0cc03640c98602ddd082a8c3939a6820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d1fdddd816a628f59c8ad2bbb463ee0cc03640c98602ddd082a8c3939a6820", kill_on_drop: false }` [INFO] [stdout] d7d1fdddd816a628f59c8ad2bbb463ee0cc03640c98602ddd082a8c3939a6820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21b5bea21826e3f51fd64ebeae4d0c5dbf78d4668641c1557945f9d046176580 [INFO] running `Command { std: "docker" "start" "-a" "21b5bea21826e3f51fd64ebeae4d0c5dbf78d4668641c1557945f9d046176580", kill_on_drop: false }` [INFO] [stderr] warning: constant `PG_APP_DB` is never used [INFO] [stderr] --> src/model/db.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | const PG_APP_DB: &str = "app_db"; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `PG_APP_USER` is never used [INFO] [stderr] --> src/model/db.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | const PG_APP_USER: &str = "app_user"; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PG_APP_PWD` is never used [INFO] [stderr] --> src/model/db.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const PG_APP_PWD: &str = "app_pwd_to_change"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PG_APP_MAX_CON` is never used [INFO] [stderr] --> src/model/db.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | const PG_APP_MAX_CON: u32 = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SQL_DIR` is never used [INFO] [stderr] --> src/model/db.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | const SQL_DIR: &str = "sql/"; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SQL_RECREATE` is never used [INFO] [stderr] --> src/model/db.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | const SQL_RECREATE: &str = "sql/00-recreate-db.sql"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pexec` is never used [INFO] [stderr] --> src/model/db.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | async fn pexec(db: &Db, file: &str) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `web_app` (bin "web_app" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_app-5838f610ae41d80f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass `--bin web_app` [INFO] [stdout] test model::db::tests::model_db_init_db ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- model::db::tests::model_db_init_db stdout ---- [INFO] [stdout] Error: Io(Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] model::db::tests::model_db_init_db [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21b5bea21826e3f51fd64ebeae4d0c5dbf78d4668641c1557945f9d046176580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b5bea21826e3f51fd64ebeae4d0c5dbf78d4668641c1557945f9d046176580", kill_on_drop: false }` [INFO] [stdout] 21b5bea21826e3f51fd64ebeae4d0c5dbf78d4668641c1557945f9d046176580 [INFO] testing Varun2002/CRUD_app against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVarun2002%2FCRUD_app" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Varun2002/CRUD_app on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Varun2002/CRUD_app [INFO] finished tweaking git repo https://github.com/Varun2002/CRUD_app [INFO] tweaked toml for git repo https://github.com/Varun2002/CRUD_app written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Varun2002/CRUD_app already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b272ca04ffe44086dfcdb42cad184e6e5671c8ba030dcbd480697bac3cd8642 [INFO] running `Command { std: "docker" "start" "-a" "5b272ca04ffe44086dfcdb42cad184e6e5671c8ba030dcbd480697bac3cd8642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b272ca04ffe44086dfcdb42cad184e6e5671c8ba030dcbd480697bac3cd8642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b272ca04ffe44086dfcdb42cad184e6e5671c8ba030dcbd480697bac3cd8642", kill_on_drop: false }` [INFO] [stdout] 5b272ca04ffe44086dfcdb42cad184e6e5671c8ba030dcbd480697bac3cd8642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a20bb5e103aa23f95a4d065c4ee34973153e75d2739697853417dd4ab842fc [INFO] running `Command { std: "docker" "start" "-a" "39a20bb5e103aa23f95a4d065c4ee34973153e75d2739697853417dd4ab842fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling proc-macro2 v1.0.58 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling whoami v1.4.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling hashlink v0.8.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling time v0.3.21 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.21/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "39a20bb5e103aa23f95a4d065c4ee34973153e75d2739697853417dd4ab842fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a20bb5e103aa23f95a4d065c4ee34973153e75d2739697853417dd4ab842fc", kill_on_drop: false }` [INFO] [stdout] 39a20bb5e103aa23f95a4d065c4ee34973153e75d2739697853417dd4ab842fc