[INFO] cloning repository https://github.com/isgo-golgo13/lightning-cart-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isgo-golgo13/lightning-cart-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisgo-golgo13%2Flightning-cart-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisgo-golgo13%2Flightning-cart-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d06e636cc2b68b2764d027b110af50d27d38708 [INFO] testing isgo-golgo13/lightning-cart-rs against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisgo-golgo13%2Flightning-cart-rs" "/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/isgo-golgo13/lightning-cart-rs [INFO] finished tweaking git repo https://github.com/isgo-golgo13/lightning-cart-rs [INFO] tweaked toml for git repo https://github.com/isgo-golgo13/lightning-cart-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/isgo-golgo13/lightning-cart-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/isgo-golgo13/lightning-cart-rs 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc559d1b596d98d36fdddb0352f3509f3d67659d7e7f00bd59afbd452235ee1 [INFO] running `Command { std: "docker" "start" "-a" "8bc559d1b596d98d36fdddb0352f3509f3d67659d7e7f00bd59afbd452235ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc559d1b596d98d36fdddb0352f3509f3d67659d7e7f00bd59afbd452235ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc559d1b596d98d36fdddb0352f3509f3d67659d7e7f00bd59afbd452235ee1", kill_on_drop: false }` [INFO] [stdout] 8bc559d1b596d98d36fdddb0352f3509f3d67659d7e7f00bd59afbd452235ee1 [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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fdfb12054af54fdf813d2d0c89757044cff7bdba88636dd5894ebe9800388d8 [INFO] running `Command { std: "docker" "start" "-a" "5fdfb12054af54fdf813d2d0c89757044cff7bdba88636dd5894ebe9800388d8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling zmij v1.0.7 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling pay-core v0.1.0 (/opt/rustwide/workdir/crates/pay-core) [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.56 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling pay-wasm v0.1.0 (/opt/rustwide/workdir/crates/pay-wasm) [INFO] [stdout] warning: unused imports: `Currency`, `LineItem`, `Order`, `Price`, and `Product` [INFO] [stdout] --> crates/pay-wasm/src/lib.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | use pay_core::{Currency, LineItem, Order, Price, Product}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> crates/pay-wasm/src/lib.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_wasm_bindgen` [INFO] [stdout] --> crates/pay-wasm/src/lib.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let items: Vec = serde_wasm_bindgen::from_value(items) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_wasm_bindgen` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 106 - let items: Vec = serde_wasm_bindgen::from_value(items) [INFO] [stdout] 106 + let items: Vec = wasm_bindgen::from_value(items) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/pay-wasm/src/lib.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | let total: i64 = items.iter().map(|item| item.total_cents()).sum(); [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | let total: i64 = items.iter().map(|item: /* Type */| item.total_cents()).sum(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pay-wasm` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5fdfb12054af54fdf813d2d0c89757044cff7bdba88636dd5894ebe9800388d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fdfb12054af54fdf813d2d0c89757044cff7bdba88636dd5894ebe9800388d8", kill_on_drop: false }` [INFO] [stdout] 5fdfb12054af54fdf813d2d0c89757044cff7bdba88636dd5894ebe9800388d8