[INFO] cloning repository https://github.com/Aviral-Omar/upstox-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/Aviral-Omar/upstox-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8215cfdecd2ee6593e6afae9dd1abd30ac42da60 [INFO] testing Aviral-Omar/upstox-rust-sdk/8215cfdecd2ee6593e6afae9dd1abd30ac42da60 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aviral-Omar/upstox-rust-sdk on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aviral-Omar/upstox-rust-sdk [INFO] finished tweaking git repo https://github.com/Aviral-Omar/upstox-rust-sdk [INFO] tweaked toml for git repo https://github.com/Aviral-Omar/upstox-rust-sdk written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aviral-Omar/upstox-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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 956e6774f240d85c716f1ff7a24715eff496a78e37bc56363e6c2a1b5626adc8 [INFO] running `Command { std: "docker" "start" "-a" "956e6774f240d85c716f1ff7a24715eff496a78e37bc56363e6c2a1b5626adc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "956e6774f240d85c716f1ff7a24715eff496a78e37bc56363e6c2a1b5626adc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956e6774f240d85c716f1ff7a24715eff496a78e37bc56363e6c2a1b5626adc8", kill_on_drop: false }` [INFO] [stdout] 956e6774f240d85c716f1ff7a24715eff496a78e37bc56363e6c2a1b5626adc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 892cb750874212d0b62e40232d30196d19de3e0da6db801366771e51070572a7 [INFO] running `Command { std: "docker" "start" "-a" "892cb750874212d0b62e40232d30196d19de3e0da6db801366771e51070572a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling protobuf v3.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling charset v0.1.3 [INFO] [stderr] Compiling imap-proto v0.16.5 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling quoted_printable v0.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling mailparse v0.15.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling url_open v0.0.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_valid_literal v0.24.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling protobuf-support v3.5.0 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde_valid_derive v0.24.0 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling async-imap v0.9.7 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling protobuf-parse v3.5.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.2.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling protobuf-codegen v3.5.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling webdriver v0.46.0 [INFO] [stderr] Compiling serde_valid v0.24.0 [INFO] [stderr] Compiling ezsockets v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling upstox-rust-sdk v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fantoccini v0.19.3 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-db615de1499efa77/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.24s [INFO] running `Command { std: "docker" "inspect" "892cb750874212d0b62e40232d30196d19de3e0da6db801366771e51070572a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892cb750874212d0b62e40232d30196d19de3e0da6db801366771e51070572a7", kill_on_drop: false }` [INFO] [stdout] 892cb750874212d0b62e40232d30196d19de3e0da6db801366771e51070572a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b69a4b186f4bfaef027c9190f1b79194180624e1a483007104887f6672fd8e55 [INFO] running `Command { std: "docker" "start" "-a" "b69a4b186f4bfaef027c9190f1b79194180624e1a483007104887f6672fd8e55", kill_on_drop: false }` [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-db615de1499efa77/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling upstox-rust-sdk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-db615de1499efa77/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "b69a4b186f4bfaef027c9190f1b79194180624e1a483007104887f6672fd8e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69a4b186f4bfaef027c9190f1b79194180624e1a483007104887f6672fd8e55", kill_on_drop: false }` [INFO] [stdout] b69a4b186f4bfaef027c9190f1b79194180624e1a483007104887f6672fd8e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0e5e0ec2fec41bb0446f87285395d9221c0aaa9eb73fead1a7d387dd9c47361 [INFO] running `Command { std: "docker" "start" "-a" "c0e5e0ec2fec41bb0446f87285395d9221c0aaa9eb73fead1a7d387dd9c47361", kill_on_drop: false }` [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-db615de1499efa77/out/protos/market_data_feed.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `upstox-rust-sdk` (lib) generated 1 warning [INFO] [stderr] warning: `upstox-rust-sdk` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/upstox_rust_sdk-40234d26ef994abc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests upstox_rust_sdk [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-db615de1499efa77/out/protos/market_data_feed.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/client.rs - client (line 6) ... FAILED [INFO] [stdout] test src/client.rs - client (line 215) ... FAILED [INFO] [stdout] test src/client.rs - client (line 98) ... FAILED [INFO] [stdout] test src/client.rs - client (line 148) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dotenvy` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | dotenvy::dotenv, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dotenvy` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 215) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dotenvy` [INFO] [stdout] --> src/client.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 5 | dotenvy::dotenv, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dotenvy` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/client.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 28 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:280:58 [INFO] [stdout] | [INFO] [stdout] 67 | let _profile: SuccessResponse = api_client.get_profile().await.unwrap(); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SuccessResponse`, found `Result, ...>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SuccessResponse<_>` [INFO] [stdout] found enum `Result, ErrorResponse>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result, ErrorResponse>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 67 | let _profile: SuccessResponse = api_client.get_profile().await.unwrap().expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:281:73 [INFO] [stdout] | [INFO] [stdout] 68 | let _funds_and_margin: SuccessResponse = api_client [INFO] [stdout] | ________________________________--------------------------------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 69 | | .get_fund_and_margin(Some(SegmentType::Sec)) [INFO] [stdout] 70 | | .await [INFO] [stdout] 71 | | .unwrap(); [INFO] [stdout] | |_____________________^ expected `SuccessResponse`, found `Result, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SuccessResponse<_>` [INFO] [stdout] found enum `Result, ErrorResponse>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result, ErrorResponse>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 71 | .unwrap().expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/client.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPLINK_API_KEY_ENV` in this scope [INFO] [stdout] --> src/client.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::constants::UPLINK_API_KEY_ENV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiClient` [INFO] [stdout] --> src/client.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 11 | let (api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ApiClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoginConfig` in this scope [INFO] [stdout] --> src/client.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 13 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::client::LoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutomateLoginConfig` in this scope [INFO] [stdout] --> src/client.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 15 | automate_login_config: Some(AutomateLoginConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::client::AutomateLoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MailProvider` [INFO] [stdout] --> src/client.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 25 | mail_provider: Some(MailProvider::Google), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MailProvider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::client::MailProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSConnectConfig` in this scope [INFO] [stdout] --> src/client.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 30 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::client::WSConnectConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:131:59 [INFO] [stdout] | [INFO] [stdout] 34 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:132:61 [INFO] [stdout] | [INFO] [stdout] 35 | market_data_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/client.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ = signal::ctrl_c() => {} [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> src/client.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 4 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/client.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPLINK_API_KEY_ENV` in this scope [INFO] [stdout] --> src/client.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::constants::UPLINK_API_KEY_ENV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiClient` [INFO] [stdout] --> src/client.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 11 | let (api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ApiClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoginConfig` in this scope [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 13 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::LoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutomateLoginConfig` in this scope [INFO] [stdout] --> src/client.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 15 | automate_login_config: Some(AutomateLoginConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::AutomateLoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MailProvider` [INFO] [stdout] --> src/client.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 19 | mail_provider: Some(MailProvider::Google), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MailProvider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::MailProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSConnectConfig` in this scope [INFO] [stdout] --> src/client.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 26 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::WSConnectConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:177:59 [INFO] [stdout] | [INFO] [stdout] 30 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 31 | market_data_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutexGuard` in this scope [INFO] [stdout] --> src/client.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 39 | let api_client: MutexGuard< [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::lock::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiClient` in this scope [INFO] [stdout] --> src/client.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 40 | ApiClient< [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 41 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 42 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExchangeSegment` [INFO] [stdout] --> src/client.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 51 | .get(&ExchangeSegment::NseIndex) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ExchangeSegment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ExchangeSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `signal` [INFO] [stdout] --> src/client.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 61 | _ = signal::ctrl_c() => {} [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `signal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `std::io::Stdout` in the current scope [INFO] [stdout] --> src/client.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 56 | std::io::stdout().flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] --> /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1669:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client (line 148) [INFO] [stdout] src/client.rs - client (line 215) [INFO] [stdout] src/client.rs - client (line 6) [INFO] [stdout] src/client.rs - client (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c0e5e0ec2fec41bb0446f87285395d9221c0aaa9eb73fead1a7d387dd9c47361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e5e0ec2fec41bb0446f87285395d9221c0aaa9eb73fead1a7d387dd9c47361", kill_on_drop: false }` [INFO] [stdout] c0e5e0ec2fec41bb0446f87285395d9221c0aaa9eb73fead1a7d387dd9c47361