[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 beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyishiyuntuan%2Flearn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yishiyuntuan/learn on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f83b74022c0e6e7a27354531a95e16664c42fd3ac1b0d671b007eff06b31e147
[INFO] running `Command { std: "docker" "start" "-a" "f83b74022c0e6e7a27354531a95e16664c42fd3ac1b0d671b007eff06b31e147", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f83b74022c0e6e7a27354531a95e16664c42fd3ac1b0d671b007eff06b31e147", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f83b74022c0e6e7a27354531a95e16664c42fd3ac1b0d671b007eff06b31e147", kill_on_drop: false }`
[INFO] [stdout] f83b74022c0e6e7a27354531a95e16664c42fd3ac1b0d671b007eff06b31e147
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df658ca1a72c5b2c801a1a234b6112ea2511a131e66932d7ca0e62a06da2127e
[INFO] running `Command { std: "docker" "start" "-a" "df658ca1a72c5b2c801a1a234b6112ea2511a131e66932d7ca0e62a06da2127e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling quote v1.0.37
[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 prettyplease v0.2.25
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling brotli v7.0.0
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling inventory v0.3.15
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling utf8-width v0.1.7
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling iri-string v0.7.7
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling sonic-number v0.1.0
[INFO] [stderr]    Compiling sonic-simd v0.1.0
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling regex v1.11.1
[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 proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling springboot-macros v0.1.0 (/opt/rustwide/workdir/springboot-macros)
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling derive-where v1.2.7
[INFO] [stderr]    Compiling mongodb-internal-macros v3.1.1
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling getset v0.1.3
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling bon-macros v3.3.2
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling axum-core v0.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling bon v3.3.2
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling async-compression v0.4.18
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling byte-unit v5.1.6
[INFO] [stderr]    Compiling faststr v0.2.27
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling sonic-rs v0.3.17
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling neli-proc-macros v0.1.4
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling bson v2.13.0
[INFO] [stderr]    Compiling neli v0.6.5
[INFO] [stderr]    Compiling hickory-proto v0.24.2
[INFO] [stderr]    Compiling tower-http v0.6.2
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling serde-toml-merge v0.3.8
[INFO] [stderr]    Compiling springboot v0.1.0 (/opt/rustwide/workdir/springboot)
[INFO] [stderr]    Compiling local-ip-address v0.6.3
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling springboot-logger v0.1.0 (/opt/rustwide/workdir/springboot-logger)
[INFO] [stderr]    Compiling hickory-resolver v0.24.2
[INFO] [stderr]    Compiling hyper v1.5.2
[INFO] [stderr]    Compiling mongodb v3.1.1
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling axum v0.8.1
[INFO] [stderr]    Compiling springboot-web v0.1.0 (/opt/rustwide/workdir/springboot-web)
[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] error[E0446]: crate-private type `BlogPost` in public interface
[INFO] [stdout]   --> web/src/dao/post_mapper.rs:8:43
[INFO] [stdout]    |
[INFO] [stdout]  8 |     async fn get_post(&self, id: &str) -> BlogPost;
[INFO] [stdout]    |                                           ^^^^^^^^ can't leak crate-private type
[INFO] [stdout]    |
[INFO] [stdout]   ::: web/src/model/blog_post.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct BlogPost {
[INFO] [stdout]    | -------------------------- `BlogPost` declared as crate-private
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0446]: crate-private type `BlogPost` in public interface
[INFO] [stdout]   --> web/src/dao/post_mapper.rs:9:50
[INFO] [stdout]    |
[INFO] [stdout]  9 |     async fn save_post(&self, post: BlogPost) -> BlogPost;
[INFO] [stdout]    |                                                  ^^^^^^^^ can't leak crate-private type
[INFO] [stdout]    |
[INFO] [stdout]   ::: web/src/model/blog_post.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct BlogPost {
[INFO] [stdout]    | -------------------------- `BlogPost` declared as crate-private
[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<T> {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout] 78 |     async fn query_by_id(&self, id: &str) -> anyhow::Result<T>;
[INFO] [stdout] 79 |     async fn save(&self, t: &T) -> anyhow::Result<ObjectId>;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 80 |     async fn update_or_save(&self, t: &T) -> anyhow::Result<ObjectId>;
[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<BlogPost> {
[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<BlogPost> {
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0446`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web` (bin "web") due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "df658ca1a72c5b2c801a1a234b6112ea2511a131e66932d7ca0e62a06da2127e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df658ca1a72c5b2c801a1a234b6112ea2511a131e66932d7ca0e62a06da2127e", kill_on_drop: false }`
[INFO] [stdout] df658ca1a72c5b2c801a1a234b6112ea2511a131e66932d7ca0e62a06da2127e
