[INFO] cloning repository https://github.com/vuongDang/rust_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vuongDang/rust_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Frust_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Frust_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f95394d4d0def27cc45c774505753e817c680ae [INFO] checking vuongDang/rust_playground against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Frust_playground" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vuongDang/rust_playground [INFO] finished tweaking git repo https://github.com/vuongDang/rust_playground [INFO] tweaked toml for git repo https://github.com/vuongDang/rust_playground written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vuongDang/rust_playground on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vuongDang/rust_playground 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytesize v1.3.2 [INFO] [stderr] Downloaded rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded reserve-port v2.1.0 [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded auto-future v1.0.0 [INFO] [stderr] Downloaded tonic-build v0.13.0 [INFO] [stderr] Downloaded axum-core v0.5.0 [INFO] [stderr] Downloaded axum-test v17.2.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded rustls v0.23.24 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded tonic v0.13.0 [INFO] [stderr] Downloaded axum v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b30980f0c4141c51f73512644fc7d0744d243dc2fa056a8f40cc0ea5ab873fce [INFO] running `Command { std: "docker" "start" "-a" "b30980f0c4141c51f73512644fc7d0744d243dc2fa056a8f40cc0ea5ab873fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b30980f0c4141c51f73512644fc7d0744d243dc2fa056a8f40cc0ea5ab873fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30980f0c4141c51f73512644fc7d0744d243dc2fa056a8f40cc0ea5ab873fce", kill_on_drop: false }` [INFO] [stdout] b30980f0c4141c51f73512644fc7d0744d243dc2fa056a8f40cc0ea5ab873fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 877ccb8b64eb78ca90c7ce94675a1fc51ee757fb8b93c0ce5d16f6eaefa8c757 [INFO] running `Command { std: "docker" "start" "-a" "877ccb8b64eb78ca90c7ce94675a1fc51ee757fb8b93c0ce5d16f6eaefa8c757", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling rustls v0.23.24 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking bytesize v1.3.2 [INFO] [stderr] Checking specialization v0.1.0 (/opt/rustwide/workdir/specialization) [INFO] [stderr] Checking miscellaneous v0.1.0 (/opt/rustwide/workdir/miscellaneous) [INFO] [stderr] Checking concurrency v0.1.0 (/opt/rustwide/workdir/concurrency) [INFO] [stdout] warning: trait `DisplayExt` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait DisplayExt: Display { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UniqueIterator` is never constructed [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UniqueIterator [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IteratorExt` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | trait IteratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DisplayExt` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait DisplayExt: Display { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UniqueIterator` is never constructed [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UniqueIterator [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IteratorExt` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | trait IteratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> miscellaneous/src/extension_pattern.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking rustls-webpki v0.103.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking reserve-port v2.1.0 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Compiling microservices v0.1.0 (/opt/rustwide/workdir/bootcamp/microservices) [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.13.0 [INFO] [stderr] Checking stackoverflow v0.1.0 (/opt/rustwide/workdir/bootcamp/stackoverflow) [INFO] [stderr] Checking axum-test v17.2.0 [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> bootcamp/stackoverflow/src/persistance/questions_dao.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let records = sqlx::query!(r"SELECT * FROM questions") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> bootcamp/stackoverflow/src/persistance/questions_dao.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | .map_err(|e| DBError::Other(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stackoverflow` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "877ccb8b64eb78ca90c7ce94675a1fc51ee757fb8b93c0ce5d16f6eaefa8c757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877ccb8b64eb78ca90c7ce94675a1fc51ee757fb8b93c0ce5d16f6eaefa8c757", kill_on_drop: false }` [INFO] [stdout] 877ccb8b64eb78ca90c7ce94675a1fc51ee757fb8b93c0ce5d16f6eaefa8c757