[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 try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainlayer%2Fmainlayer-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 55% (2220/3965) Updating files: 56% (2221/3965) Updating files: 57% (2261/3965) Updating files: 58% (2300/3965) Updating files: 59% (2340/3965) Updating files: 60% (2379/3965) Updating files: 60% (2401/3965) Updating files: 61% (2419/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: 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: 90% (3605/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mainlayer/mainlayer-rust on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mainlayer/mainlayer-rust against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainlayer%2Fmainlayer-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 56% (2221/3965) Updating files: 57% (2261/3965) Updating files: 58% (2300/3965) Updating files: 59% (2340/3965) Updating files: 60% (2379/3965) Updating files: 60% (2399/3965) Updating files: 61% (2419/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: 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: 90% (3591/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mainlayer/mainlayer-rust on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcee9ba03bdf776d870dffcad5936667ba843c91faef5b658ba0d5b3322affac [INFO] running `Command { std: "docker" "start" "-a" "bcee9ba03bdf776d870dffcad5936667ba843c91faef5b658ba0d5b3322affac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcee9ba03bdf776d870dffcad5936667ba843c91faef5b658ba0d5b3322affac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcee9ba03bdf776d870dffcad5936667ba843c91faef5b658ba0d5b3322affac", kill_on_drop: false }` [INFO] [stdout] bcee9ba03bdf776d870dffcad5936667ba843c91faef5b658ba0d5b3322affac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbad5c4699acc7fec6269753805d02dea8a59fef428d1a5cbf7fae3828e8ec1c [INFO] running `Command { std: "docker" "start" "-a" "cbad5c4699acc7fec6269753805d02dea8a59fef428d1a5cbf7fae3828e8ec1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking zerovec v0.11.5 [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 serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.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 tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [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/0611f7de057c584b8771102fde7aed6c70c71d3b/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/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[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] error[E0277]: `Option` 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` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [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` 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` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [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` 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` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [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] [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] [stderr] error: could not compile `mainlayer` (example "buyer_example") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cbad5c4699acc7fec6269753805d02dea8a59fef428d1a5cbf7fae3828e8ec1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbad5c4699acc7fec6269753805d02dea8a59fef428d1a5cbf7fae3828e8ec1c", kill_on_drop: false }` [INFO] [stdout] cbad5c4699acc7fec6269753805d02dea8a59fef428d1a5cbf7fae3828e8ec1c