[INFO] cloning repository https://github.com/yishiyuntuan/learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yishiyuntuan/learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyishiyuntuan%2Flearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyishiyuntuan%2Flearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4eb3cf82ce9561328b4f0b81846ee5e0f16d902 [INFO] testing yishiyuntuan/learn against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyishiyuntuan%2Flearn" "/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/yishiyuntuan/learn [INFO] finished tweaking git repo https://github.com/yishiyuntuan/learn [INFO] tweaked toml for git repo https://github.com/yishiyuntuan/learn written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yishiyuntuan/learn on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yishiyuntuan/learn 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.15 [INFO] [stderr] Downloaded serde-toml-merge v0.3.8 [INFO] [stderr] Downloaded local-ip-address v0.6.3 [INFO] [stderr] Downloaded neli-proc-macros v0.1.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.1 [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded neli v0.6.5 [INFO] [stderr] Downloaded tungstenite v0.26.1 [INFO] [stderr] Downloaded getset v0.1.3 [INFO] [stderr] Downloaded mongodb-internal-macros v3.1.1 [INFO] [stderr] Downloaded bon v3.3.2 [INFO] [stderr] Downloaded mongodb v3.1.1 [INFO] [stderr] Downloaded bon-macros v3.3.2 [INFO] [stderr] Downloaded hickory-proto v0.24.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed48ebb7a00917d68f05a3b4b63e986b148183f95988e2e8f71e74e4fc48f26 [INFO] running `Command { std: "docker" "start" "-a" "fed48ebb7a00917d68f05a3b4b63e986b148183f95988e2e8f71e74e4fc48f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed48ebb7a00917d68f05a3b4b63e986b148183f95988e2e8f71e74e4fc48f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed48ebb7a00917d68f05a3b4b63e986b148183f95988e2e8f71e74e4fc48f26", kill_on_drop: false }` [INFO] [stdout] fed48ebb7a00917d68f05a3b4b63e986b148183f95988e2e8f71e74e4fc48f26 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8db9fc1ecc0e2aab849ac414b29efd087513deb1f6724060c205c9b6826305c [INFO] running `Command { std: "docker" "start" "-a" "e8db9fc1ecc0e2aab849ac414b29efd087513deb1f6724060c205c9b6826305c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling springboot-macros v0.1.0 (/opt/rustwide/workdir/springboot-macros) [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling serde-toml-merge v0.3.8 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling springboot v0.1.0 (/opt/rustwide/workdir/springboot) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hickory-proto v0.24.2 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling iri-string v0.7.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling faststr v0.2.27 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling local-ip-address v0.6.3 [INFO] [stderr] Compiling hickory-resolver v0.24.2 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sonic-simd v0.1.0 [INFO] [stderr] Compiling sonic-number v0.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sonic-rs v0.3.17 [INFO] [stderr] Compiling springboot-logger v0.1.0 (/opt/rustwide/workdir/springboot-logger) [INFO] [stderr] Compiling mongodb v3.1.1 [INFO] [stderr] Compiling springboot-web v0.1.0 (/opt/rustwide/workdir/springboot-web) [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bon v3.3.2 [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> web/src/dao/post_mapper.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | async fn save_post(&self, post: BlogPost) -> BlogPost { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> web/src/dao/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct MongoService { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | config: MongoConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MongoService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save`, `delete_by_id`, and `update_by_id` are never used [INFO] [stdout] --> web/src/dao/mod.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait BaseMapper { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 78 | async fn query_by_id(&self, id: &str) -> anyhow::Result; [INFO] [stdout] 79 | async fn save(&self, t: &T) -> anyhow::Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 80 | async fn update_or_save(&self, t: &T) -> anyhow::Result; [INFO] [stdout] 81 | async fn delete_by_id(&self, id: &str) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | async fn update_by_id(&self, id: &str, t: &T) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PostMapper` is never used [INFO] [stdout] --> web/src/dao/post_mapper.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait PostMapper: BaseMapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_post` is never used [INFO] [stdout] --> web/src/services/blog_service.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) async fn save_post(post: BlogPost) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 35s [INFO] running `Command { std: "docker" "inspect" "e8db9fc1ecc0e2aab849ac414b29efd087513deb1f6724060c205c9b6826305c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8db9fc1ecc0e2aab849ac414b29efd087513deb1f6724060c205c9b6826305c", kill_on_drop: false }` [INFO] [stdout] e8db9fc1ecc0e2aab849ac414b29efd087513deb1f6724060c205c9b6826305c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e7ae5edf2a64f866e5736a8fd8a19eec33f2ba8acc4c5e04f51ae266a2fb69 [INFO] running `Command { std: "docker" "start" "-a" "76e7ae5edf2a64f866e5736a8fd8a19eec33f2ba8acc4c5e04f51ae266a2fb69", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling springboot-macros v0.1.0 (/opt/rustwide/workdir/springboot-macros) [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling springboot v0.1.0 (/opt/rustwide/workdir/springboot) [INFO] [stderr] Compiling springboot-logger v0.1.0 (/opt/rustwide/workdir/springboot-logger) [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling serde-toml-merge v0.3.8 [INFO] [stderr] Compiling local-ip-address v0.6.3 [INFO] [stderr] Compiling springboot-web v0.1.0 (/opt/rustwide/workdir/springboot-web) [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> web/src/dao/post_mapper.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | async fn save_post(&self, post: BlogPost) -> BlogPost { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> web/src/dao/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct MongoService { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | config: MongoConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MongoService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save`, `delete_by_id`, and `update_by_id` are never used [INFO] [stdout] --> web/src/dao/mod.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait BaseMapper { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 78 | async fn query_by_id(&self, id: &str) -> anyhow::Result; [INFO] [stdout] 79 | async fn save(&self, t: &T) -> anyhow::Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 80 | async fn update_or_save(&self, t: &T) -> anyhow::Result; [INFO] [stdout] 81 | async fn delete_by_id(&self, id: &str) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 82 | async fn update_by_id(&self, id: &str, t: &T) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PostMapper` is never used [INFO] [stdout] --> web/src/dao/post_mapper.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait PostMapper: BaseMapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_post` is never used [INFO] [stdout] --> web/src/services/blog_service.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) async fn save_post(post: BlogPost) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "76e7ae5edf2a64f866e5736a8fd8a19eec33f2ba8acc4c5e04f51ae266a2fb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e7ae5edf2a64f866e5736a8fd8a19eec33f2ba8acc4c5e04f51ae266a2fb69", kill_on_drop: false }` [INFO] [stdout] 76e7ae5edf2a64f866e5736a8fd8a19eec33f2ba8acc4c5e04f51ae266a2fb69 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6478ad4aaa29c5afefdc6820cf381c4f9abfff6994d19bb8f61bda6993e4e5a2 [INFO] running `Command { std: "docker" "start" "-a" "6478ad4aaa29c5afefdc6820cf381c4f9abfff6994d19bb8f61bda6993e4e5a2", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `post` [INFO] [stderr] --> web/src/dao/post_mapper.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | async fn save_post(&self, post: BlogPost) -> BlogPost { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> web/src/dao/mod.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub(crate) struct MongoService { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 41 | config: MongoConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MongoService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `save`, `delete_by_id`, and `update_by_id` are never used [INFO] [stderr] --> web/src/dao/mod.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 77 | pub trait BaseMapper { [INFO] [stderr] | ---------- methods in this trait [INFO] [stderr] 78 | async fn query_by_id(&self, id: &str) -> anyhow::Result; [INFO] [stderr] 79 | async fn save(&self, t: &T) -> anyhow::Result; [INFO] [stderr] | ^^^^ [INFO] [stderr] 80 | async fn update_or_save(&self, t: &T) -> anyhow::Result; [INFO] [stderr] 81 | async fn delete_by_id(&self, id: &str) -> anyhow::Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 82 | async fn update_by_id(&self, id: &str, t: &T) -> anyhow::Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `PostMapper` is never used [INFO] [stderr] --> web/src/dao/post_mapper.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait PostMapper: BaseMapper { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_post` is never used [INFO] [stderr] --> web/src/services/blog_service.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) async fn save_post(post: BlogPost) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `web` (bin "web" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/springboot-4b4cc3f07c30c974) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test config::env::tests::test_get_config_path ... ok [INFO] [stdout] test config::toml::tests::test_load_config ... ok [INFO] [stdout] test application::tests::test_component_registry ... ok [INFO] [stdout] test config::env::tests::test_interpolate ... ok [INFO] [stdout] test config::env::tests::test_env ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::env::tests::test_env stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::env::tests::test_env' (18) panicked at springboot/src/config/env.rs:171:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "/tmp/.tmpYa2Jd6/foo-dev.toml" [INFO] [stdout] right: "/tmp/.tmpYa2Jd6/foo-tests.toml" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a0bbe0f6bf2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a0bbe0f6bf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a0bbe0f6bf2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a0bbe0f6bf2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a0bbe10766f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5a0bbe10766f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5a0bbe0c12f1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a0bbe0c12f1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5a0bbe0ce212 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5a0bbe0d3d8f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5a0bbe0d3c21 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5a0bbdee751e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5a0bbdee751e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a0bbe0d44ff - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5a0bbe0d44ff - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5a0bbe0d42aa - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5a0bbe0ce359 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5a0bbe0b46cd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5a0bbe110c00 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5a0bbe1109b3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5a0bbde9d294 - core::panicking::assert_failed::h36af0a8f801a0d3e [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5a0bbde87bcc - springboot::config::env::tests::test_env::hccae79404b73e7b0 [INFO] [stdout] at /opt/rustwide/workdir/springboot/src/config/env.rs:171:9 [INFO] [stdout] 22: 0x5a0bbde88212 - springboot::config::env::tests::test_env::{{closure}}::h059837a87e9e775c [INFO] [stdout] at /opt/rustwide/workdir/springboot/src/config/env.rs:158:22 [INFO] [stdout] 23: 0x5a0bbde94996 - core::ops::function::FnOnce::call_once::he1551b539897fff0 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5a0bbdee72db - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5a0bbdee72db - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a0bbdefcdc5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a0bbdefcdc5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a0bbdefcdc5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5a0bbdefcdc5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5a0bbdefcdc5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a0bbdefcdc5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a0bbdefcdc5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a0bbded3734 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a0bbded3734 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5a0bbded70da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5a0bbded70da - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a0bbded70da - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5a0bbded70da - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5a0bbded70da - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a0bbded70da - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5a0bbded70da - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5a0bbe0c83cf - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5a0bbe0c83cf - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7129b925faa4 - [INFO] [stdout] 45: 0x7129b92eca34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::env::tests::test_env [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p springboot --lib` [INFO] running `Command { std: "docker" "inspect" "6478ad4aaa29c5afefdc6820cf381c4f9abfff6994d19bb8f61bda6993e4e5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6478ad4aaa29c5afefdc6820cf381c4f9abfff6994d19bb8f61bda6993e4e5a2", kill_on_drop: false }` [INFO] [stdout] 6478ad4aaa29c5afefdc6820cf381c4f9abfff6994d19bb8f61bda6993e4e5a2