[INFO] cloning repository https://github.com/mainlayer/mainlayer-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mainlayer/mainlayer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainlayer%2Fmainlayer-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainlayer%2Fmainlayer-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7dbc4a0881034a5d8afdff295e3788bd8336bf83
[INFO] checking mainlayer/mainlayer-rust against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainlayer%2Fmainlayer-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  54% (2156/3965)
Updating files:  55% (2181/3965)
Updating files:  56% (2221/3965)
Updating files:  57% (2261/3965)
Updating files:  58% (2300/3965)
Updating files:  58% (2301/3965)
Updating files:  59% (2340/3965)
Updating files:  60% (2379/3965)
Updating files:  61% (2419/3965)
Updating files:  61% (2434/3965)
Updating files:  62% (2459/3965)
Updating files:  63% (2498/3965)
Updating files:  64% (2538/3965)
Updating files:  65% (2578/3965)
Updating files:  66% (2617/3965)
Updating files:  67% (2657/3965)
Updating files:  68% (2697/3965)
Updating files:  69% (2736/3965)
Updating files:  70% (2776/3965)
Updating files:  71% (2816/3965)
Updating files:  72% (2855/3965)
Updating files:  73% (2895/3965)
Updating files:  74% (2935/3965)
Updating files:  75% (2974/3965)
Updating files:  76% (3014/3965)
Updating files:  76% (3034/3965)
Updating files:  77% (3054/3965)
Updating files:  78% (3093/3965)
Updating files:  79% (3133/3965)
Updating files:  80% (3172/3965)
Updating files:  81% (3212/3965)
Updating files:  82% (3252/3965)
Updating files:  83% (3291/3965)
Updating files:  84% (3331/3965)
Updating files:  85% (3371/3965)
Updating files:  86% (3410/3965)
Updating files:  87% (3450/3965)
Updating files:  88% (3490/3965)
Updating files:  89% (3529/3965)
Updating files:  90% (3569/3965)
Updating files:  91% (3609/3965)
Updating files:  92% (3648/3965)
Updating files:  93% (3688/3965)
Updating files:  94% (3728/3965)
Updating files:  95% (3767/3965)
Updating files:  96% (3807/3965)
Updating files:  97% (3847/3965)
Updating files:  98% (3886/3965)
Updating files:  99% (3926/3965)
Updating files: 100% (3965/3965)
Updating files: 100% (3965/3965), done.
[INFO] started tweaking git repo https://github.com/mainlayer/mainlayer-rust
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/mainlayer/mainlayer-rust
[INFO] tweaked toml for git repo https://github.com/mainlayer/mainlayer-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mainlayer/mainlayer-rust on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mainlayer/mainlayer-rust 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.115
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.115
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.115
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.65
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.115
[INFO] [stderr]   Downloaded mockito v1.7.2
[INFO] [stderr]   Downloaded openssl-sys v0.9.112
[INFO] [stderr]   Downloaded rustls-webpki v0.103.10
[INFO] [stderr]   Downloaded js-sys v0.3.92
[INFO] [stderr]   Downloaded cc v1.2.58
[INFO] [stderr]   Downloaded openssl v0.10.76
[INFO] [stderr]   Downloaded rustls v0.23.37
[INFO] [stderr]   Downloaded web-sys v0.3.92
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 613908ce8de939be4e7be25a755d40f2c387a5acf3f099cda3c99bff61ca7152
[INFO] running `Command { std: "docker" "start" "-a" "613908ce8de939be4e7be25a755d40f2c387a5acf3f099cda3c99bff61ca7152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "613908ce8de939be4e7be25a755d40f2c387a5acf3f099cda3c99bff61ca7152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "613908ce8de939be4e7be25a755d40f2c387a5acf3f099cda3c99bff61ca7152", kill_on_drop: false }`
[INFO] [stdout] 613908ce8de939be4e7be25a755d40f2c387a5acf3f099cda3c99bff61ca7152
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 109c679005ad2ccfc86c8375564fb543f3ab8ff7a5738974da5c90557c265755
[INFO] running `Command { std: "docker" "start" "-a" "109c679005ad2ccfc86c8375564fb543f3ab8ff7a5738974da5c90557c265755", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking mockito v1.7.2
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking mainlayer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0560]: struct `CreateResourceParams` has no field named `name`
[INFO] [stdout]   --> examples/vendor_example.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             name: Some("Weather Forecast API".to_string()),
[INFO] [stdout]    |             ^^^^ `CreateResourceParams` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `callback_url`, `credits_per_payment`, `duration_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/buyer_example.rs:34:60
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let results = client.discover().search("weather", Some(5)).await?;
[INFO] [stdout]    |                                                       ---- ^ expected `DiscoverQuery`, found integer
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> examples/buyer_example.rs:34:55
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let results = client.discover().search("weather", Some(5)).await?;
[INFO] [stdout]    |                                                       ^^^^^-^
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/9e293ae9f8abecb0be5105787d181518c9012a19/library/core/src/option.rs:605:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `ResourceType` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> examples/vendor_example.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |             r.resource_type.to_string(),
[INFO] [stdout]    |                             ^^^^^^^^^ method cannot be called on `ResourceType` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/types.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ResourceType {
[INFO] [stdout]    | --------------------- doesn't satisfy `ResourceType: ToString` or `ResourceType: std::fmt::Display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ResourceType: std::fmt::Display`
[INFO] [stdout]            which is required by `ResourceType: ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `FeeModel` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> examples/vendor_example.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |             r.fee_model.to_string(),
[INFO] [stdout]    |                         ^^^^^^^^^ method cannot be called on `FeeModel` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/types.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum FeeModel {
[INFO] [stdout]    | ----------------- doesn't satisfy `FeeModel: ToString` or `FeeModel: std::fmt::Display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `FeeModel: std::fmt::Display`
[INFO] [stdout]            which is required by `FeeModel: ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0560`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mainlayer` (example "vendor_example") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: `FeeModel` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> examples/buyer_example.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |             r.id, r.slug, r.fee_model.to_string(), r.price_usdc
[INFO] [stdout]    |                                       ^^^^^^^^^ method cannot be called on `FeeModel` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/types.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum FeeModel {
[INFO] [stdout]    | ----------------- doesn't satisfy `FeeModel: ToString` or `FeeModel: std::fmt::Display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `FeeModel: std::fmt::Display`
[INFO] [stdout]            which is required by `FeeModel: ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Option<f64>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> examples/buyer_example.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |             "  Payment created: {}  amount={:.2} USDC",
[INFO] [stdout]    |                                            ----- required by this formatting parameter
[INFO] [stdout] 81 |             payment.id, payment.amount_usdc
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ `Option<f64>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `Option<f64>`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Option<f64>` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> examples/buyer_example.rs:112:34
[INFO] [stdout]     |
[INFO] [stdout] 111 |             "  {}  resource={}  amount={:.2} USDC  status={}",
[INFO] [stdout]     |                                        ----- required by this formatting parameter
[INFO] [stdout] 112 |             p.id, p.resource_id, p.amount_usdc, p.status
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ `Option<f64>` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Option<f64>`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Option<String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> examples/buyer_example.rs:112:49
[INFO] [stdout]     |
[INFO] [stdout] 111 |             "  {}  resource={}  amount={:.2} USDC  status={}",
[INFO] [stdout]     |                                                           -- required by this formatting parameter
[INFO] [stdout] 112 |             p.id, p.resource_id, p.amount_usdc, p.status
[INFO] [stdout]     |                                                 ^^^^^^^^ `Option<String>` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Option<String>`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mainlayer` (example "buyer_example") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "109c679005ad2ccfc86c8375564fb543f3ab8ff7a5738974da5c90557c265755", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "109c679005ad2ccfc86c8375564fb543f3ab8ff7a5738974da5c90557c265755", kill_on_drop: false }`
[INFO] [stdout] 109c679005ad2ccfc86c8375564fb543f3ab8ff7a5738974da5c90557c265755
