[INFO] fetching crate crab_rocket_permission 0.1.0... [INFO] testing crab_rocket_permission-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate crab_rocket_permission 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate crab_rocket_permission 0.1.0 [INFO] finished tweaking crates.io crate crab_rocket_permission 0.1.0 [INFO] tweaked toml for crates.io crate crab_rocket_permission 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crab_rocket_permission 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 229 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 crab_rocket_schema v0.1.0 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded pq-sys v0.7.2 [INFO] [stderr] Downloaded diesel_derives v2.2.7 [INFO] [stderr] Downloaded diesel v2.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9474669f08dc501ccdf736096f7b1d40a75c24a25009973aaed6820b4aed2b42 [INFO] running `Command { std: "docker" "start" "-a" "9474669f08dc501ccdf736096f7b1d40a75c24a25009973aaed6820b4aed2b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9474669f08dc501ccdf736096f7b1d40a75c24a25009973aaed6820b4aed2b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9474669f08dc501ccdf736096f7b1d40a75c24a25009973aaed6820b4aed2b42", kill_on_drop: false }` [INFO] [stdout] 9474669f08dc501ccdf736096f7b1d40a75c24a25009973aaed6820b4aed2b42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6ae268a0e5009926e5650a86e4dc264d0f157130d394a516f8592b414c2f9fb9 [INFO] running `Command { std: "docker" "start" "-a" "6ae268a0e5009926e5650a86e4dc264d0f157130d394a516f8592b414c2f9fb9", 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 http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling http-body v0.4.6 [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 serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 h2 v0.3.27 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling diesel v2.2.12 [INFO] [stderr] Compiling utoipa v4.2.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling crab_rocket_schema v0.1.0 [INFO] [stderr] Compiling crab_rocket_permission v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "6ae268a0e5009926e5650a86e4dc264d0f157130d394a516f8592b414c2f9fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae268a0e5009926e5650a86e4dc264d0f157130d394a516f8592b414c2f9fb9", kill_on_drop: false }` [INFO] [stdout] 6ae268a0e5009926e5650a86e4dc264d0f157130d394a516f8592b414c2f9fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 96fa5ae274d3aca0e41b212c55bb70a6227f35639434feb3c77fde20d57bdbae [INFO] running `Command { std: "docker" "start" "-a" "96fa5ae274d3aca0e41b212c55bb70a6227f35639434feb3c77fde20d57bdbae", kill_on_drop: false }` [INFO] [stderr] Compiling crab_rocket_permission v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::establish_pg_connection` [INFO] [stdout] --> src/mappers/permission_mapper.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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_permission` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "96fa5ae274d3aca0e41b212c55bb70a6227f35639434feb3c77fde20d57bdbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96fa5ae274d3aca0e41b212c55bb70a6227f35639434feb3c77fde20d57bdbae", kill_on_drop: false }` [INFO] [stdout] 96fa5ae274d3aca0e41b212c55bb70a6227f35639434feb3c77fde20d57bdbae