[INFO] cloning repository https://github.com/kevintsai1202/rust_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevintsai1202/rust_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevintsai1202%2Frust_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevintsai1202%2Frust_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd73494e0637457b7cdb04ed74c3076b3c09d2cb [INFO] testing kevintsai1202/rust_demo against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevintsai1202%2Frust_demo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kevintsai1202/rust_demo [INFO] finished tweaking git repo https://github.com/kevintsai1202/rust_demo [INFO] tweaked toml for git repo https://github.com/kevintsai1202/rust_demo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevintsai1202/rust_demo on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevintsai1202/rust_demo 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inherent v1.0.13 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded sea-orm-macros v1.1.19 [INFO] [stderr] Downloaded ouroboros_macro v0.18.5 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-query v0.32.7 [INFO] [stderr] Downloaded aliasable v0.1.3 [INFO] [stderr] Downloaded ouroboros v0.18.5 [INFO] [stderr] Downloaded sea-orm v1.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05b408c4d51b1a0bd2fb636221ec09b9cd10a85d766ea6141935fce40b1ad955 [INFO] running `Command { std: "docker" "start" "-a" "05b408c4d51b1a0bd2fb636221ec09b9cd10a85d766ea6141935fce40b1ad955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05b408c4d51b1a0bd2fb636221ec09b9cd10a85d766ea6141935fce40b1ad955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b408c4d51b1a0bd2fb636221ec09b9cd10a85d766ea6141935fce40b1ad955", kill_on_drop: false }` [INFO] [stdout] 05b408c4d51b1a0bd2fb636221ec09b9cd10a85d766ea6141935fce40b1ad955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec6773eb30e42dcc50078cb8914903c6a073dd029adb6470b1e80536eeb74f07 [INFO] running `Command { std: "docker" "start" "-a" "ec6773eb30e42dcc50078cb8914903c6a073dd029adb6470b1e80536eeb74f07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aws-lc-rs v1.15.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling zmij v1.0.15 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling time-macros v0.2.25 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling aws-lc-sys v0.36.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling time v0.3.45 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling sea-orm-macros v1.1.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling sea-query v0.32.7 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.19 [INFO] [stderr] Compiling rust_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/bin/ex06_api_crud.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rusqlite::{params, Connection}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/bin/ex05_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rusqlite` in this scope [INFO] [stdout] --> src/bin/ex06_api_crud.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Err(rusqlite::Error::QueryReturnedNoRows) => (StatusCode::NOT_FOUND, "User not found").into_response(), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 10 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - Err(rusqlite::Error::QueryReturnedNoRows) => (StatusCode::NOT_FOUND, "User not found").into_response(), [INFO] [stdout] 151 + Err(Error::QueryReturnedNoRows) => (StatusCode::NOT_FOUND, "User not found").into_response(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_demo` (bin "ex05_db") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `rusqlite` in this scope [INFO] [stdout] --> src/bin/ex06_api_crud.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn init_db(path: &str) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rusqlite` in this scope [INFO] [stdout] --> src/bin/ex06_api_crud.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_conn(state: &AppState) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_demo` (bin "ex06_api_crud") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ec6773eb30e42dcc50078cb8914903c6a073dd029adb6470b1e80536eeb74f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6773eb30e42dcc50078cb8914903c6a073dd029adb6470b1e80536eeb74f07", kill_on_drop: false }` [INFO] [stdout] ec6773eb30e42dcc50078cb8914903c6a073dd029adb6470b1e80536eeb74f07