[INFO] fetching crate crab_rocket_role 0.1.0... [INFO] testing crab_rocket_role-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate crab_rocket_role 0.1.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crab_rocket_role 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 231 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utoipa v4.2.3 [INFO] [stderr] Downloaded crab_rocket_schema v0.1.0 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded crab_rocket_utils v0.1.1 [INFO] [stderr] Downloaded utoipa-gen v4.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f59839235c6f5b6f7ed76e7326146f1fa4d58ad56bd690956653e8e2b88b7d15 [INFO] running `Command { std: "docker" "start" "-a" "f59839235c6f5b6f7ed76e7326146f1fa4d58ad56bd690956653e8e2b88b7d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f59839235c6f5b6f7ed76e7326146f1fa4d58ad56bd690956653e8e2b88b7d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59839235c6f5b6f7ed76e7326146f1fa4d58ad56bd690956653e8e2b88b7d15", kill_on_drop: false }` [INFO] [stdout] f59839235c6f5b6f7ed76e7326146f1fa4d58ad56bd690956653e8e2b88b7d15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a356d0b4dc9663c162f11345db6374c638477a615f412c7383c8cdf039b92d25 [INFO] running `Command { std: "docker" "start" "-a" "a356d0b4dc9663c162f11345db6374c638477a615f412c7383c8cdf039b92d25", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling crab_rocket_utils v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling utoipa v4.2.3 [INFO] [stderr] Compiling diesel v2.2.12 [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 56.70s [INFO] running `Command { std: "docker" "inspect" "a356d0b4dc9663c162f11345db6374c638477a615f412c7383c8cdf039b92d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a356d0b4dc9663c162f11345db6374c638477a615f412c7383c8cdf039b92d25", kill_on_drop: false }` [INFO] [stdout] a356d0b4dc9663c162f11345db6374c638477a615f412c7383c8cdf039b92d25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5164f19b13a2195b1149566fddcb347318102810d267ebc156fad9ce86074e9 [INFO] running `Command { std: "docker" "start" "-a" "e5164f19b13a2195b1149566fddcb347318102810d267ebc156fad9ce86074e9", 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" "e5164f19b13a2195b1149566fddcb347318102810d267ebc156fad9ce86074e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5164f19b13a2195b1149566fddcb347318102810d267ebc156fad9ce86074e9", kill_on_drop: false }` [INFO] [stdout] e5164f19b13a2195b1149566fddcb347318102810d267ebc156fad9ce86074e9