[INFO] cloning repository https://github.com/unifi-io/openocean-rust-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unifi-io/openocean-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funifi-io%2Fopenocean-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funifi-io%2Fopenocean-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e61683edb6555e8035367fe0366a2bbcc46d10b7 [INFO] checking unifi-io/openocean-rust-sdk against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funifi-io%2Fopenocean-rust-sdk" "/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/unifi-io/openocean-rust-sdk [INFO] finished tweaking git repo https://github.com/unifi-io/openocean-rust-sdk [INFO] tweaked toml for git repo https://github.com/unifi-io/openocean-rust-sdk written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unifi-io/openocean-rust-sdk on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unifi-io/openocean-rust-sdk 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded web-sys v0.3.80 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded tokio-rustls v0.26.3 [INFO] [stderr] Downloaded rustls-webpki v0.103.6 [INFO] [stderr] Downloaded tempfile v3.22.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ac4426f5105f4818f33c0292e11f6517ab18137d4276099100a84f8c5c0a36 [INFO] running `Command { std: "docker" "start" "-a" "91ac4426f5105f4818f33c0292e11f6517ab18137d4276099100a84f8c5c0a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ac4426f5105f4818f33c0292e11f6517ab18137d4276099100a84f8c5c0a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ac4426f5105f4818f33c0292e11f6517ab18137d4276099100a84f8c5c0a36", kill_on_drop: false }` [INFO] [stdout] 91ac4426f5105f4818f33c0292e11f6517ab18137d4276099100a84f8c5c0a36 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 957a49764e31c1f42f1b108d85a84e2bd7c17b4ab6891ccf8acdb9ef018a95d7 [INFO] running `Command { std: "docker" "start" "-a" "957a49764e31c1f42f1b108d85a84e2bd7c17b4ab6891ccf8acdb9ef018a95d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.14.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking openocean-sdk v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/gasless.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let res = gasless.quote(Chain::Bsc, &GaslessQuoteParams { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64` is never constructed [INFO] [stdout] --> src/types.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct F64(pub f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64` is never constructed [INFO] [stdout] --> src/types.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct F64(pub f64); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swap` [INFO] [stdout] --> examples/multi_chain.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let swap = Swap::new(&client); [INFO] [stdout] | ^^^^ use of undeclared type `Swap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openocean_sdk::Swap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openocean-sdk` (example "multi_chain") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "957a49764e31c1f42f1b108d85a84e2bd7c17b4ab6891ccf8acdb9ef018a95d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957a49764e31c1f42f1b108d85a84e2bd7c17b4ab6891ccf8acdb9ef018a95d7", kill_on_drop: false }` [INFO] [stdout] 957a49764e31c1f42f1b108d85a84e2bd7c17b4ab6891ccf8acdb9ef018a95d7