[INFO] fetching crate crab_rocket_role 0.1.0... [INFO] testing crab_rocket_role-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate crab_rocket_role 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate crab_rocket_role 0.1.0 [INFO] finished tweaking crates.io crate crab_rocket_role 0.1.0 [INFO] tweaked toml for crates.io crate crab_rocket_role 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crab_rocket_role 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 226 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding utoipa v4.2.3 (available: v5.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d1ebe42709d3b3623fc7db1c2f654f56c5bbf54192bdde9aded8670159bfe2d [INFO] running `Command { std: "docker" "start" "-a" "5d1ebe42709d3b3623fc7db1c2f654f56c5bbf54192bdde9aded8670159bfe2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d1ebe42709d3b3623fc7db1c2f654f56c5bbf54192bdde9aded8670159bfe2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1ebe42709d3b3623fc7db1c2f654f56c5bbf54192bdde9aded8670159bfe2d", kill_on_drop: false }` [INFO] [stdout] 5d1ebe42709d3b3623fc7db1c2f654f56c5bbf54192bdde9aded8670159bfe2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0165e3b46438bbf088d466a59ee8b2373cac726d3ec4d8844728f6835b5d56cd [INFO] running `Command { std: "docker" "start" "-a" "0165e3b46438bbf088d466a59ee8b2373cac726d3ec4d8844728f6835b5d56cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling pq-sys v0.7.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling diesel_derives v2.3.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling crab_rocket_utils v0.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling diesel v2.3.3 [INFO] [stderr] Compiling utoipa v4.2.3 [INFO] [stderr] Compiling crab_rocket_schema v0.1.0 [INFO] [stderr] Compiling crab_rocket_role v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "0165e3b46438bbf088d466a59ee8b2373cac726d3ec4d8844728f6835b5d56cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0165e3b46438bbf088d466a59ee8b2373cac726d3ec4d8844728f6835b5d56cd", kill_on_drop: false }` [INFO] [stdout] 0165e3b46438bbf088d466a59ee8b2373cac726d3ec4d8844728f6835b5d56cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc0d266f9878bc0e3abf9413eb79c464bdb8984251549dca1446133334db9821 [INFO] running `Command { std: "docker" "start" "-a" "cc0d266f9878bc0e3abf9413eb79c464bdb8984251549dca1446133334db9821", kill_on_drop: false }` [INFO] [stderr] Compiling crab_rocket_role v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::establish_pg_connection` [INFO] [stdout] --> src/mappers/role_mapper.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::establish_pg_connection; // 建立数据库连接 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `establish_pg_connection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::establish_pg_connection` [INFO] [stdout] --> src/mappers/role_mapper.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | use crate::establish_pg_connection; // 建立数据库连接 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `establish_pg_connection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crab_rocket_role` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cc0d266f9878bc0e3abf9413eb79c464bdb8984251549dca1446133334db9821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0d266f9878bc0e3abf9413eb79c464bdb8984251549dca1446133334db9821", kill_on_drop: false }` [INFO] [stdout] cc0d266f9878bc0e3abf9413eb79c464bdb8984251549dca1446133334db9821