[INFO] fetching crate simplist 0.0.5... [INFO] testing simplist-0.0.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate simplist 0.0.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate simplist 0.0.5 [INFO] finished tweaking crates.io crate simplist 0.0.5 [INFO] tweaked toml for crates.io crate simplist 0.0.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simplist 0.0.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.11.27 (available: v1.7.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bfc262da8534ef35a72cce722b15ad39a98b03d89b7a84c882911e3de724664 [INFO] running `Command { std: "docker" "start" "-a" "5bfc262da8534ef35a72cce722b15ad39a98b03d89b7a84c882911e3de724664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bfc262da8534ef35a72cce722b15ad39a98b03d89b7a84c882911e3de724664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bfc262da8534ef35a72cce722b15ad39a98b03d89b7a84c882911e3de724664", kill_on_drop: false }` [INFO] [stdout] 5bfc262da8534ef35a72cce722b15ad39a98b03d89b7a84c882911e3de724664 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148c9a7b75e822486af56cdfeaeb7f06dc190c3e4eae513dd374e3b69f33dd45 [INFO] running `Command { std: "docker" "start" "-a" "148c9a7b75e822486af56cdfeaeb7f06dc190c3e4eae513dd374e3b69f33dd45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling simplist v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/hina/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | 0...399 => OneOfFuture::A(response.read_as_bytes()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:207:93 [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:225:94 [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | HttpError::Uri (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | HttpError::Hyper (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | HttpError::Utf8 (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.34s [INFO] running `Command { std: "docker" "inspect" "148c9a7b75e822486af56cdfeaeb7f06dc190c3e4eae513dd374e3b69f33dd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148c9a7b75e822486af56cdfeaeb7f06dc190c3e4eae513dd374e3b69f33dd45", kill_on_drop: false }` [INFO] [stdout] 148c9a7b75e822486af56cdfeaeb7f06dc190c3e4eae513dd374e3b69f33dd45 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de2e5be49342e37e2806e7ab91a6cf5f6142afef6effa3eee6236f8b9f8dda48 [INFO] running `Command { std: "docker" "start" "-a" "de2e5be49342e37e2806e7ab91a6cf5f6142afef6effa3eee6236f8b9f8dda48", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/hina/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | 0...399 => OneOfFuture::A(response.read_as_bytes()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:207:93 [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:225:94 [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simplist v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | HttpError::Uri (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | HttpError::Hyper (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | HttpError::Utf8 (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::macros::*` [INFO] [stdout] --> src/hina/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | 0...399 => OneOfFuture::A(response.read_as_bytes()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:207:93 [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:225:94 [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:388:83 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:462:113 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:490:120 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / http_client_methods!( [INFO] [stdout] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stdout] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stdout] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stdout] ... | [INFO] [stdout] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stdout] 575 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/client.rs:173:56 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simplist-stable/response.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | HttpError::Uri (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | HttpError::Hyper (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/simplist-stable/error.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | HttpError::Utf8 (ref x) => x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "de2e5be49342e37e2806e7ab91a6cf5f6142afef6effa3eee6236f8b9f8dda48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2e5be49342e37e2806e7ab91a6cf5f6142afef6effa3eee6236f8b9f8dda48", kill_on_drop: false }` [INFO] [stdout] de2e5be49342e37e2806e7ab91a6cf5f6142afef6effa3eee6236f8b9f8dda48 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a0540b9179f0198c5c27f91bb488801d85eeb781739a51b3d2ec350ece6019f [INFO] running `Command { std: "docker" "start" "-a" "5a0540b9179f0198c5c27f91bb488801d85eeb781739a51b3d2ec350ece6019f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `self::macros::*` [INFO] [stderr] --> src/hina/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use self::macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:217:18 [INFO] [stderr] | [INFO] [stderr] 217 | 0...399 => OneOfFuture::A(response.read_as_bytes()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:207:93 [INFO] [stderr] | [INFO] [stderr] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 207 | fn run_bytes(&self, url: Url, method: HttpMethod, content: Option) -> Box, Error = HttpError>> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:225:94 [INFO] [stderr] | [INFO] [stderr] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 225 | fn run_string(&self, url: Url, method: HttpMethod, content: Option) -> Box> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:462:113 [INFO] [stderr] | [INFO] [stderr] 462 | pub fn $method_name(&self, url: TUrl, content: Option) -> OneOfFuture, Error = HttpError>>, ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 565 | / http_client_methods!( [INFO] [stderr] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stderr] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stderr] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stderr] ... | [INFO] [stderr] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stderr] 575 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:490:120 [INFO] [stderr] | [INFO] [stderr] 490 | pub fn $string_method_name(&self, url: TUrl, content: Option) -> OneOfFuture>, ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 565 | / http_client_methods!( [INFO] [stderr] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stderr] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stderr] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stderr] ... | [INFO] [stderr] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stderr] 575 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:365:76 [INFO] [stderr] | [INFO] [stderr] 365 | pub fn $method_name(&self, url: TUrl) -> OneOfFuture, Error = HttpError>>, FutureResult [INFO] [stderr] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:388:83 [INFO] [stderr] | [INFO] [stderr] 388 | pub fn $string_method_name(&self, url: TUrl) -> OneOfFuture>, FutureResult... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 565 | / http_client_methods!( [INFO] [stderr] 566 | | [x, HttpMethod::Options, options, options_string], [INFO] [stderr] 567 | | [no-content, HttpMethod::Get, get, get_string ], [INFO] [stderr] 568 | | [x, HttpMethod::Post, post, post_string ], [INFO] [stderr] ... | [INFO] [stderr] 574 | | [x, HttpMethod::Patch, patch, patch_string ], [INFO] [stderr] 575 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `http_client_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/error.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:173:56 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 173 | pub fn request(&self, request: HttpRequest) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/response.rs:135:39 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 | pub fn read_as_bytes(self) -> Box, Error = HttpError>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simplist-stable/response.rs:171:40 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 171 | pub fn read_as_string(self) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/simplist-stable/error.rs:37:43 [INFO] [stderr] | [INFO] [stderr] 37 | HttpError::Uri (ref x) => x.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/simplist-stable/error.rs:38:43 [INFO] [stderr] | [INFO] [stderr] 38 | HttpError::Hyper (ref x) => x.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/simplist-stable/error.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | HttpError::Utf8 (ref x) => x.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simplist` (lib) generated 29 warnings (14 duplicates) (run `cargo fix --lib -p simplist` to apply 8 suggestions) [INFO] [stderr] warning: `simplist` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simplist-02487e3806ed15d9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests simplist [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/simplist-stable/client.rs:217:18 [INFO] [stderr] | [INFO] [stderr] 217 | 0...399 => OneOfFuture::A(response.read_as_bytes()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 87 tests [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient (line 84) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::delete_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::head (line 570) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient (line 69) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::get_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient (line 113) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient (line 101) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::delete (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::patch (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::connect_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::get (line 570) ... FAILED [INFO] [stdout] test src/lib.rs - (line 54) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::connect (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::put (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::options_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::post_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::new (line 149) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::trace_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::put_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::patch_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::options (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::post (line 573) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::request (line 162) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 275) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::head_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient (line 128) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::new (line 311) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 260) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpClient::trace (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 290) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest (line 25) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::request (line 326) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post_string (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace_string (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with_header (line 271) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::headers_mut (line 171) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 242) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse::headers (line 58) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_bytes (line 121) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put (line 573) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::url (line 86) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::path (line 120) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with (line 68) ... FAILED [INFO] [stdout] test src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace (line 570) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::headers (line 154) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse (line 30) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with_url (line 209) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_bytes (line 290) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_string (line 157) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 228) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url (line 18) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse::status (line 80) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse (line 199) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::query (line 137) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status (line 249) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::is_absolute (line 109) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpResponse::status_code (line 101) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::method (line 103) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::path (line 31) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::scheme (line 44) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::headers (line 227) ... FAILED [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::with_method (line 192) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::query (line 96) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::authority (line 57) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::host (line 70) ... FAILED [INFO] [stdout] test src/simplist-stable/url.rs - simplist::url::Url::port (line 83) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_string (line 312) ... FAILED [INFO] [stdout] test src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status_code (line 270) ... FAILED [INFO] [stdout] test src/simplist-stable/content.rs - simplist::content::HttpContent::none (line 42) ... ok [INFO] [stdout] test src/simplist-stable/request.rs - simplist::request::HttpRequest::new (line 52) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient (line 84) stdout ---- [INFO] [stdout] error: expected item, found `.` [INFO] [stdout] --> src/simplist-stable/client.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 1 | . [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::delete_string (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 10 | await http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::head (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 10 | &await http.get("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 3 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/lib.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 13 | handle.spawn(future); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for enum `simplist::hina::task::OneOfFuture` in the current scope [INFO] [stdout] --> src/lib.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 8 | let future = http.get_string("https://hinaria.com").and_then(|html| { [INFO] [stdout] | ---------------------------------------^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- the method is available for `simplist::hina::task::OneOfFuture + 'static)>, futures::future::result_::FutureResult, String, HttpError>` here [INFO] [stdout] | [INFO] [stdout] note: the method `and_then` exists on the type `Box<(dyn futures::future::Future + 'static)>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | / fn and_then(self, f: F) -> AndThen [INFO] [stdout] 527 | | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | | B: IntoFuture, [INFO] [stdout] 529 | | Self: Sized, [INFO] [stdout] | |__________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Future` which provides `and_then` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] help: there is a method `then` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let future = http.get_string("https://hinaria.com").and_then(|html| { [INFO] [stdout] 8 + let future = http.get_string("https://hinaria.com").then(|html| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient (line 69) stdout ---- [INFO] [stdout] error: expected item, found `.` [INFO] [stdout] --> src/simplist-stable/client.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 1 | . [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::get_string (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 10 | await http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient (line 113) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 13 | handle.spawn(future); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for enum `simplist::hina::task::OneOfFuture` in the current scope [INFO] [stdout] --> src/simplist-stable/client.rs:118:53 [INFO] [stdout] | [INFO] [stdout] 8 | let future = http.get_string("https://hinaria.com").and_then(|html| { [INFO] [stdout] | ---------------------------------------^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- the method is available for `simplist::hina::task::OneOfFuture + 'static)>, futures::future::result_::FutureResult, String, HttpError>` here [INFO] [stdout] | [INFO] [stdout] note: the method `and_then` exists on the type `Box<(dyn futures::future::Future + 'static)>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/mod.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | / fn and_then(self, f: F) -> AndThen [INFO] [stdout] 527 | | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | | B: IntoFuture, [INFO] [stdout] 529 | | Self: Sized, [INFO] [stdout] | |__________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Future` which provides `and_then` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use futures::future::Future; [INFO] [stdout] | [INFO] [stdout] help: there is a method `then` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let future = http.get_string("https://hinaria.com").and_then(|html| { [INFO] [stdout] 8 + let future = http.get_string("https://hinaria.com").then(|html| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient (line 101) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/client.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 3 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::delete (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 10 | &await http.get("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::patch (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::connect_string (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 10 | await http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::get (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 10 | &await http.get("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 54) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/lib.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let html = http.get_string("https://hinaria.com")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 10| println!("{:?}", html); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::connect (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 10 | &await http.get("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::put (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::options_string (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::post_string (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::new (line 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::trace_string (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 10 | await http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::put_string (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::patch_string (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::options (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::post (line 573) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 11 | &await http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 5 | simplist = { version = "0.0.5", features = ["nightly"] } [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `simplist` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 5 | simplist = { version = "0.0.5", features = ["nightly"] } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 5 | let simplist = { version = "0.0.5", features = ["nightly"] } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::request (line 162) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/client.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 4 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 275) stdout ---- [INFO] [stdout] error: expected item, found `.` [INFO] [stdout] --> src/simplist-stable/client.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 1 | . [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::head_string (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 10 | await http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient (line 128) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:133:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_128_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let html = http.get_string("https://hinaria.com")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_128_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 10| println!("{:?}", html); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect (line 570) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_18() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | &http.get("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_18() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options_string (line 573) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_3() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_3() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | "\n\n\n ..."); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect_string (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_19() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_19() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | "\n\n\n ..."); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::new (line 311) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get_string (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_3() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_3() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | "\n\n\n ..."); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 260) stdout ---- [INFO] [stdout] error: expected item, found `.` [INFO] [stdout] --> src/simplist-stable/client.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 1 | . [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpClient::trace (line 570) stdout ---- [INFO] [stdout] error: no rules expected `http` [INFO] [stdout] --> src/simplist-stable/client.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 10 | &await http.get("https://hinaria.com")?, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `,` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:43:16 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch (line 573) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_14() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_14() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 290) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:295:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_290_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let html = http.get_string("https://hinaria.com")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_290_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 10| println!("{:?}", html); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post (line 573) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_6() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_6() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options (line 573) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_2() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_2() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get (line 570) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_2() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | &http.get("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_2() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head (line 570) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_10() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | &http.get("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_10() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head_string (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_11() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_11() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | "\n\n\n ..."); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch_string (line 573) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_15() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_15() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | "\n\n\n ..."); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete (line 570) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_6() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | &http.get("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_6() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete_string (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_7() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_7() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | "\n\n\n ..."); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest (line 25) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/request.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 5 | let client = HttpClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::request (line 326) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 8 | let http = HttpClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest` [INFO] [stdout] --> src/simplist-stable/client.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 10 | let operation = HttpRequest::with(url, HttpMethod::Get); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HttpRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use simplist::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_326_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_326_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpClient; [INFO] [stdout] ... [INFO] [stdout] 13| assert_eq!(response.status(), StatusCode::Ok); [INFO] [stdout] 14+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/simplist-stable/client.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 11 | let response = http.request(operation)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Box>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Box>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:334:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_326_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | let response = http.request(operation)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/simplist-stable/client.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(response.status(), StatusCode::Ok); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put_string (line 573) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_11() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_11() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | "\n\n\n ..."); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post_string (line 573) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_7() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post_string("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_7() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | "\n\n\n ..."); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace_string (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_15() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | http.get_string("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_15() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | "\n\n\n ..."); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with_header (line 271) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/request.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 4 | let request = HttpRequest::with("https://hinaria.com", HttpMethod::Get) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::headers_mut (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper` [INFO] [stdout] --> src/simplist-stable/request.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::headers::Basic; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hyper` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `hyper`, use `cargo add hyper` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate hyper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simplist-stable/request.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 9 | let request = HttpRequest::with("https://hinaria.com", HttpMethod::Get); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `Url`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with(url: Url, method: HttpMethod) -> HttpRequest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 242) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/request.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 9 | let data: Vec = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 - let data: Vec = ...; [INFO] [stdout] 9 + let data: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 - let data: Vec = ...; [INFO] [stdout] 9 + let data: Vec = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/request.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 9 | let data: Vec = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 9 - let data: Vec = ...; [INFO] [stdout] 9 + let data: Vec = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper` [INFO] [stdout] --> src/simplist-stable/request.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::header::ContentType; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hyper` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `hyper`, use `cargo add hyper` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate hyper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:251:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_242_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | .with_url ("https://api.hinaria.com/users/@me/database".parse()?) [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_242_0() -> Result<(), Box> { [INFO] [stdout] 5 | use hyper::header::ContentType; [INFO] [stdout] ... [INFO] [stdout] 15 | .with_body (data); [INFO] [stdout] 16 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/simplist-stable/request.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 14 | .with_header(ContentType::octet_stream()) [INFO] [stdout] | ^^^^^^^^^^^----------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn with_header(mut self, key: TKey, value: TValue) -> HttpRequest [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 14 | .with_header(ContentType::octet_stream(), /* value */) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse::headers (line 58) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 6 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_bytes (line 121) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 5 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put (line 573) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 12 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:581:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_10() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | &http.post("https://hinaria.com/users/@me/database", body)?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_573_10() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 12 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 13 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::url (line 86) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_86_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_86_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(request.url(), url); [INFO] [stdout] 12+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::path (line 120) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:125:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_120_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let url = "http://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(request.path(), "/hello/index.html"); [INFO] [stdout] 12+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with (line 68) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_68_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_68_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 10| let request = HttpRequest::with(url, method); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace (line 570) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..=]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/client.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 11 + &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/simplist-stable/client.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 7 | let http = HttpSyncClient::new(handle); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/client.rs:577:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_14() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | &http.get("https://hinaria.com")?, [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_client_rs_570_14() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpSyncClient; [INFO] [stdout] ... [INFO] [stdout] 11 | &[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, ...]); [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::headers (line 154) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> src/simplist-stable/request.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(headers.has::(), true); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_154_0() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simplist-stable/request.rs:159:33 [INFO] [stdout] | [INFO] [stdout] 8 | let request = HttpRequest::with("https://hinaria.com", HttpMethod::Get); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `Url`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with(url: Url, method: HttpMethod) -> HttpRequest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse (line 30) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 5 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with_url (line 209) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_209_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | .with_url ("https://hinaria.com".parse()?) [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_209_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 10| .with_method(HttpMethod::Get); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_bytes (line 290) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 5 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_string (line 157) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 5 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 228) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper` [INFO] [stdout] --> src/simplist-stable/request.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::header::ContentType; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hyper` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `hyper`, use `cargo add hyper` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate hyper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:235:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_228_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | .with_url ("https://api.hinaria.com/users/@me/database".parse()?) [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_228_0() -> Result<(), Box> { [INFO] [stdout] 5 | use hyper::header::ContentType; [INFO] [stdout] ... [INFO] [stdout] 13 | .with_body ("{ id: 1234 }"); [INFO] [stdout] 14 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/simplist-stable/request.rs:237:6 [INFO] [stdout] | [INFO] [stdout] 12 | .with_header(ContentType::json()) [INFO] [stdout] | ^^^^^^^^^^^--------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn with_header(mut self, key: TKey, value: TValue) -> HttpRequest [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | .with_header(ContentType::json(), /* value */) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simplist-stable/request.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 13 | .with_body ("{ id: 1234 }"); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected `Option<_>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn with_body(mut self, body: Option) -> HttpRequest [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 13 | .with_body (Some("{ id: 1234 }")); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url (line 18) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_18_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_18_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] 4 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse::status (line 80) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 6 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse (line 199) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/response.rs:206:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/response.rs:206:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpRequest` [INFO] [stdout] --> src/simplist-stable/response.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 11 | let request = HttpRequest::with(url, HttpMethod::Get); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `HttpRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use simplist::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:205:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_199_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_199_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:208:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_199_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | let response = http.request(request)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_199_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::query (line 137) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_137_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let url = "http://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_137_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(request.query(), Some("q=search")); [INFO] [stdout] 12+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status (line 249) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/response.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 11 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 11 - let http = HttpSyncClient::new(...); [INFO] [stdout] 11 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 11 - let http = HttpSyncClient::new(...); [INFO] [stdout] 11 + let http = HttpSyncClient::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/response.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 11 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 11 - let http = HttpSyncClient::new(...); [INFO] [stdout] 11 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hyper` [INFO] [stdout] --> src/simplist-stable/response.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hyper` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `hyper`, use `cargo add hyper` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate hyper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_249_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_249_0() -> Result<(), Box> { [INFO] [stdout] 5 | use hyper::status::StatusCode; [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(response.status(), StatusCode::Ok); [INFO] [stdout] 16 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_249_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 13 | let response = http.request(request)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_249_0() -> Result<(), Box> { [INFO] [stdout] 5 | use hyper::status::StatusCode; [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(response.status(), StatusCode::Ok); [INFO] [stdout] 16 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::is_absolute (line 109) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:110:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_109_0() { [INFO] [stdout] | --------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_109_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.is_absolute(), true); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpResponse::status_code (line 101) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 5 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::method (line 103) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/simplist-stable/request.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 8 | let request = HttpRequest::with("https://hinaria.com", HttpMethod::Get); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `Url`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/simplist-stable/request.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with(url: Url, method: HttpMethod) -> HttpRequest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::path (line 31) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_31_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_31_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.path(), "/hello/index.html"); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::scheme (line 44) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_44_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_44_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.scheme(), Some("https")); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::headers (line 227) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/simplist-stable/response.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 6 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/request.rs - simplist::request::HttpRequest::with_method (line 192) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/request.rs:198:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_192_0() { [INFO] [stdout] | ------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | .with_url ("https://hinaria.com".parse()?) [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_request_rs_192_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 10| .with_method(HttpMethod::Get); [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::query (line 96) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_96_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_96_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.query(), Some("q=search")); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::authority (line 57) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:58:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_57_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_57_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.authority(), Some("hinaria.com")); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::host (line 70) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:71:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_70_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_70_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.host(), Some("hinaria.com")); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/url.rs - simplist::url::Url::port (line 83) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Url` in this scope [INFO] [stdout] --> src/simplist-stable/url.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/url.rs:84:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_83_0() { [INFO] [stdout] | -------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_url_rs_83_0() -> Result<(), Box> { [INFO] [stdout] 3 | let url: Url = "https://hinaria.com/hello/index.html?q=search".parse()?; [INFO] [stdout] 4 | [INFO] [stdout] 5 | assert_eq!(url.port(), None); [INFO] [stdout] 6 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_string (line 312) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/response.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/response.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:318:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_312_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_312_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_312_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | let response = http.request(request)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_312_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status_code (line 270) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/simplist-stable/response.rs:277:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/simplist-stable/response.rs:277:36 [INFO] [stdout] | [INFO] [stdout] 10 | let http = HttpSyncClient::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 10 - let http = HttpSyncClient::new(...); [INFO] [stdout] 10 + let http = HttpSyncClient::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:276:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_270_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let url = "https://hinaria.com".parse()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_270_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 14| assert_eq!(response.status_code(), 200); [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/simplist-stable/response.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_270_0() { [INFO] [stdout] | -------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | let response = http.request(request)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_simplist_stable_response_rs_270_0() -> Result<(), Box> { [INFO] [stdout] 5 | use simplist::HttpMethod; [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(response.status_code(), 200); [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient (line 101) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient (line 113) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient (line 128) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient (line 69) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient (line 84) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::connect (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::connect_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::delete (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::delete_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::get (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::get_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::head (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::head_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::new (line 149) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::options (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::options_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::patch (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::patch_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::post (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::post_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::put (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::put_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::request (line 162) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::trace (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpClient::trace_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 260) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 275) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient (line 290) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::connect_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::delete_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::get_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::head_string (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::new (line 311) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::options_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::patch_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::post_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::put_string (line 573) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::request (line 326) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace (line 570) [INFO] [stdout] src/simplist-stable/client.rs - simplist::client::HttpSyncClient::trace_string (line 570) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest (line 25) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::headers (line 154) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::headers_mut (line 171) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::method (line 103) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::path (line 120) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::query (line 137) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::url (line 86) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with (line 68) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 228) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with_body (line 242) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with_header (line 271) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with_method (line 192) [INFO] [stdout] src/simplist-stable/request.rs - simplist::request::HttpRequest::with_url (line 209) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse (line 30) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse::headers (line 58) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_bytes (line 121) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse::read_as_string (line 157) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse::status (line 80) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpResponse::status_code (line 101) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse (line 199) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::headers (line 227) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_bytes (line 290) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::read_as_string (line 312) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status (line 249) [INFO] [stdout] src/simplist-stable/response.rs - simplist::response::HttpSyncResponse::status_code (line 270) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url (line 18) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::authority (line 57) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::host (line 70) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::is_absolute (line 109) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::path (line 31) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::port (line 83) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::query (line 96) [INFO] [stdout] src/simplist-stable/url.rs - simplist::url::Url::scheme (line 44) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 85 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.90s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a0540b9179f0198c5c27f91bb488801d85eeb781739a51b3d2ec350ece6019f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0540b9179f0198c5c27f91bb488801d85eeb781739a51b3d2ec350ece6019f", kill_on_drop: false }` [INFO] [stdout] 5a0540b9179f0198c5c27f91bb488801d85eeb781739a51b3d2ec350ece6019f