[INFO] cloning repository https://github.com/hu00yan/rust-miniss
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hu00yan/rust-miniss" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhu00yan%2Frust-miniss", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhu00yan%2Frust-miniss'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3f0915bc995ae9c9c79452ab675613fccf8b42b
[INFO] checking hu00yan/rust-miniss against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhu00yan%2Frust-miniss" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hu00yan/rust-miniss
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/hu00yan/rust-miniss
[INFO] tweaked toml for git repo https://github.com/hu00yan/rust-miniss written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hu00yan/rust-miniss on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hu00yan/rust-miniss already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded metrics v0.24.2
[INFO] [stderr] Downloaded sketches-ddsketch v0.2.2
[INFO] [stderr] Downloaded metrics-util v0.17.0
[INFO] [stderr] Downloaded metrics-exporter-prometheus v0.15.3
[INFO] [stderr] Downloaded raw-cpuid v11.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d45abcb9f66d61dc79df0cbfcb9d8096ee88692afb9988df03a0e978a12a38f5
[INFO] running `Command { std: "docker" "start" "-a" "d45abcb9f66d61dc79df0cbfcb9d8096ee88692afb9988df03a0e978a12a38f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d45abcb9f66d61dc79df0cbfcb9d8096ee88692afb9988df03a0e978a12a38f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d45abcb9f66d61dc79df0cbfcb9d8096ee88692afb9988df03a0e978a12a38f5", kill_on_drop: false }`
[INFO] [stdout] d45abcb9f66d61dc79df0cbfcb9d8096ee88692afb9988df03a0e978a12a38f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91d44fef5e80ffd27d1ac09331beaa42e90ebe686d1cc32ab64a5d590cc2599e
[INFO] running `Command { std: "docker" "start" "-a" "91d44fef5e80ffd27d1ac09331beaa42e90ebe686d1cc32ab64a5d590cc2599e", kill_on_drop: false }`
[INFO] [stderr] Checking bitflags v2.9.3
[INFO] [stderr] Checking parking_lot_core v0.9.11
[INFO] [stderr] Checking indexmap v2.11.4
[INFO] [stderr] Checking regex-automata v0.4.10
[INFO] [stderr] Checking futures-util v0.3.31
[INFO] [stderr] Checking ahash v0.8.12
[INFO] [stderr] Checking openssl-sys v0.9.109
[INFO] [stderr] Compiling rustix v1.0.8
[INFO] [stderr] Checking num_cpus v1.17.0
[INFO] [stderr] Checking getrandom v0.2.16
[INFO] [stderr] Checking socket2 v0.5.10
[INFO] [stderr] Checking icu_normalizer v2.0.0
[INFO] [stderr] Compiling generator v0.8.7
[INFO] [stderr] Checking half v2.6.0
[INFO] [stderr] Compiling io-uring v0.7.10
[INFO] [stderr] Compiling signal-hook v0.3.18
[INFO] [stderr] Checking parking_lot v0.12.4
[INFO] [stderr] Checking raw-cpuid v11.6.0
[INFO] [stderr] Checking ciborium-io v0.2.2
[INFO] [stderr] Checking plotters-backend v0.3.7
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking metrics v0.23.1
[INFO] [stderr] Checking sketches-ddsketch v0.2.2
[INFO] [stderr] Checking tokio v1.47.1
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking clap_builder v4.5.46
[INFO] [stderr] Checking ciborium-ll v0.2.2
[INFO] [stderr] Compiling tracing-test-macro v0.2.5
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Checking wait-timeout v0.2.1
[INFO] [stderr] Checking plotters-svg v0.3.7
[INFO] [stderr] Compiling rust-miniss v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking cast v0.3.0
[INFO] [stderr] Checking plotters v0.3.7
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking crossbeam v0.8.4
[INFO] [stderr] Checking dashmap v5.5.3
[INFO] [stderr] Checking criterion-plot v0.5.0
[INFO] [stderr] Checking ciborium v0.2.2
[INFO] [stderr] Checking tinytemplate v1.2.1
[INFO] [stderr] Checking url v2.5.7
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking metrics v0.24.2
[INFO] [stderr] Checking nix v0.27.1
[INFO] [stderr] Checking threadpool v1.8.1
[INFO] [stderr] Checking rand v0.9.2
[INFO] [stderr] Checking rand_chacha v0.9.0
[INFO] [stderr] Checking rand_xorshift v0.4.0
[INFO] [stderr] Checking is-terminal v0.4.16
[INFO] [stderr] Checking mio v0.8.11
[INFO] [stderr] Checking pin-project v1.1.10
[INFO] [stderr] Checking quanta v0.12.6
[INFO] [stderr] Checking anes v0.1.6
[INFO] [stderr] Checking openssl v0.10.73
[INFO] [stderr] Checking oorandom v11.1.5
[INFO] [stderr] Checking unarray v0.1.4
[INFO] [stderr] Checking tempfile v3.21.0
[INFO] [stderr] Checking metrics-util v0.17.0
[INFO] [stderr] Checking clap v4.5.46
[INFO] [stderr] Checking rusty-fork v0.3.0
[INFO] [stderr] Checking proptest v1.7.0
[INFO] [stderr] Checking metrics-exporter-prometheus v0.15.3
[INFO] [stderr] Checking matchers v0.2.0
[INFO] [stderr] Checking regex v1.11.2
[INFO] [stderr] Checking tracing-subscriber v0.3.20
[INFO] [stderr] Checking futures-executor v0.3.31
[INFO] [stderr] Checking criterion v0.5.1
[INFO] [stderr] Checking futures v0.3.31
[INFO] [stderr] Checking tracing-test v0.2.5
[INFO] [stderr] Checking loom v0.7.2
[INFO] [stderr] Checking native-tls v0.2.14
[INFO] [stderr] Checking tokio-util v0.7.16
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking h2 v0.3.27
[INFO] [stderr] Checking h2 v0.4.12
[INFO] [stderr] Checking hyper v1.7.0
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Checking hyper-tls v0.5.0
[INFO] [stderr] Checking reqwest v0.11.27
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout] --> tests/vectored_io.rs:3:16
[INFO] [stdout] |
[INFO] [stdout] 3 | use super::super::net::AsyncTcpStream;
[INFO] [stdout] | ^^^^^ there are too many leading `super` keywords
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout] --> tests/metrics.rs:3:16
[INFO] [stdout] |
[INFO] [stdout] 3 | use super::super::net::AsyncTcpStream;
[INFO] [stdout] | ^^^^^ there are too many leading `super` keywords
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:91:38
[INFO] [stdout] |
[INFO] [stdout] 91 | async fn handle_request(req: Request
) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 91 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:91:64
[INFO] [stdout] |
[INFO] [stdout] 91 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 91 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:93:49
[INFO] [stdout] |
[INFO] [stdout] 93 | (&Method::GET, "/") => Ok(Response::new(Body::from(
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 93 | (&Method::GET, "/") => Ok(Response::new(::from(
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `metrics::query`
[INFO] [stdout] --> tests/metrics.rs:4:18
[INFO] [stdout] |
[INFO] [stdout] 4 | use metrics::query::Query;
[INFO] [stdout] | ^^^^^ could not find `query` in `metrics`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:34:33
[INFO] [stdout] |
[INFO] [stdout] 34 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:100:23
[INFO] [stdout] |
[INFO] [stdout] 100 | .body(Body::from(json))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 100 | .body(::from(json))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `loom::thread`
[INFO] [stdout] --> tests/integration_concurrency.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use loom::thread;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:47:23
[INFO] [stdout] |
[INFO] [stdout] 47 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 47 - server_handle.await;
[INFO] [stdout] 47 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:105:30
[INFO] [stdout] |
[INFO] [stdout] 105 | Ok(Response::new(Body::from("Echo response")))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 105 | Ok(Response::new(::from("Echo response")))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:78:33
[INFO] [stdout] |
[INFO] [stdout] 78 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/http2_server.rs:109:19
[INFO] [stdout] |
[INFO] [stdout] 109 | .body(Body::from("Not Found"))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 109 | .body(::from("Not Found"))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:90:23
[INFO] [stdout] |
[INFO] [stdout] 90 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 90 - server_handle.await;
[INFO] [stdout] 90 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime`
[INFO] [stdout] --> tests/vectored_io.rs:9:18
[INFO] [stdout] |
[INFO] [stdout] 9 | let rt = Runtime::new();
[INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout] |
[INFO] [stdout] 3 + use rust_miniss::Runtime;
[INFO] [stdout] |
[INFO] [stdout] 3 + use tokio::runtime::Runtime;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime`
[INFO] [stdout] --> tests/metrics.rs:9:18
[INFO] [stdout] |
[INFO] [stdout] 9 | let rt = Runtime::new();
[INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout] |
[INFO] [stdout] 3 + use rust_miniss::Runtime;
[INFO] [stdout] |
[INFO] [stdout] 3 + use tokio::runtime::Runtime;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime`
[INFO] [stdout] --> tests/vectored_io.rs:35:18
[INFO] [stdout] |
[INFO] [stdout] 35 | let rt = Runtime::new();
[INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout] |
[INFO] [stdout] 3 + use rust_miniss::Runtime;
[INFO] [stdout] |
[INFO] [stdout] 3 + use tokio::runtime::Runtime;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncUdpSocket`
[INFO] [stdout] --> tests/vectored_io.rs:37:26
[INFO] [stdout] |
[INFO] [stdout] 37 | let socket = AsyncUdpSocket::bind("127.0.0.1:0").unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AsyncUdpSocket`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 3 + use rust_miniss::AsyncUdpSocket;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:120:33
[INFO] [stdout] |
[INFO] [stdout] 120 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:130:23
[INFO] [stdout] |
[INFO] [stdout] 130 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 130 - server_handle.await;
[INFO] [stdout] 130 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> tests/metrics.rs:11:26
[INFO] [stdout] |
[INFO] [stdout] 11 | let stream = AsyncTcpStream::connect("127.0.0.1:80").await.unwrap(); // Or mock
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:157:33
[INFO] [stdout] |
[INFO] [stdout] 157 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:170:23
[INFO] [stdout] |
[INFO] [stdout] 170 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 170 - server_handle.await;
[INFO] [stdout] 170 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:204:33
[INFO] [stdout] |
[INFO] [stdout] 204 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (test "metrics") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:207:35
[INFO] [stdout] |
[INFO] [stdout] 207 | let chunks = [b"Partial", b" Write", b" Test"];
[INFO] [stdout] | ^^^^^^^^^ expected an array with a size of 7, found one with a size of 6
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `detach` found for enum `Result` in the current scope
[INFO] [stdout] --> examples/http2_server.rs:26:12
[INFO] [stdout] |
[INFO] [stdout] 24 | / task::spawn(async move {
[INFO] [stdout] 25 | | let _ = fut.await;
[INFO] [stdout] 26 | | }).detach();
[INFO] [stdout] | | -^^^^^^ method not found in `Result, RuntimeError>`
[INFO] [stdout] | |___________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:221:23
[INFO] [stdout] |
[INFO] [stdout] 221 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 221 - server_handle.await;
[INFO] [stdout] 221 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:255:33
[INFO] [stdout] |
[INFO] [stdout] 255 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:270:23
[INFO] [stdout] |
[INFO] [stdout] 270 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 270 - server_handle.await;
[INFO] [stdout] 270 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:296:33
[INFO] [stdout] |
[INFO] [stdout] 296 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:308:23
[INFO] [stdout] |
[INFO] [stdout] 308 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 308 - server_handle.await;
[INFO] [stdout] 308 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:343:33
[INFO] [stdout] |
[INFO] [stdout] 343 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:346:45
[INFO] [stdout] |
[INFO] [stdout] 346 | let messages = [b"Hello", b"World", b"Test"];
[INFO] [stdout] | ^^^^^^^ expected an array with a size of 5, found one with a size of 4
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:361:23
[INFO] [stdout] |
[INFO] [stdout] 361 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 361 - server_handle.await;
[INFO] [stdout] 361 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:372:33
[INFO] [stdout] |
[INFO] [stdout] 372 | let mut client_stream = AsyncTcpStream::from(invalid_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `AsyncTcpStream: From` is not satisfied
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:416:33
[INFO] [stdout] |
[INFO] [stdout] 416 | let mut client_stream = AsyncTcpStream::from(actual_addr);
[INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `From` is not implemented for `AsyncTcpStream`
[INFO] [stdout] but trait `From` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `TcpStream`, found `std::net::SocketAddr`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0599, E0782.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `Result, RuntimeError>` is not a future
[INFO] [stdout] --> tests/futures_io_trait_tests.rs:433:23
[INFO] [stdout] |
[INFO] [stdout] 433 | server_handle.await;
[INFO] [stdout] | ^^^^^ `Result, RuntimeError>` is not a future
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, RuntimeError>`
[INFO] [stdout] = note: Result, RuntimeError> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout] = note: required for `Result, RuntimeError>` to implement `std::future::IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout] |
[INFO] [stdout] 433 - server_handle.await;
[INFO] [stdout] 433 + server_handle;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (example "http2_server") due to 7 previous errors
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:11:38
[INFO] [stdout] |
[INFO] [stdout] 11 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 11 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:11:64
[INFO] [stdout] |
[INFO] [stdout] 11 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 11 | async fn handle_request(req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:13:49
[INFO] [stdout] |
[INFO] [stdout] 13 | (&Method::GET, "/") => Ok(Response::new(Body::from(
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 13 | (&Method::GET, "/") => Ok(Response::new(::from(
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (test "futures_io_trait_tests") due to 21 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> tests/udp_async_tests.rs:249:17
[INFO] [stdout] |
[INFO] [stdout] 249 | let (sender_id, result) = task.await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------- this expression has type `Result<({integer}, Result), TaskError>`
[INFO] [stdout] | |
[INFO] [stdout] | expected `Result<({integer}, ...), ...>`, found `(_, _)`
[INFO] [stdout] |
[INFO] [stdout] = note: expected enum `Result<({integer}, Result), TaskError>`
[INFO] [stdout] found tuple `(_, _)`
[INFO] [stdout] help: try wrapping the pattern in `Ok`
[INFO] [stdout] |
[INFO] [stdout] 249 | let Ok((sender_id, result)) = task.await;
[INFO] [stdout] | +++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `hyper::service::make_service_fn`
[INFO] [stdout] --> examples/simple_hyper_server.rs:3:22
[INFO] [stdout] |
[INFO] [stdout] 3 | use hyper::service::{make_service_fn, service_fn};
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | no `make_service_fn` in `service`
[INFO] [stdout] | help: a similar name exists in the module: `service_fn`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `hyper::Server`
[INFO] [stdout] --> examples/simple_hyper_server.rs:4:44
[INFO] [stdout] |
[INFO] [stdout] 4 | use hyper::{body::Body, Request, Response, Server};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | no `Server` in the root
[INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `server`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/simple_hyper_server.rs:10:36
[INFO] [stdout] |
[INFO] [stdout] 10 | async fn hello_world(_req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 10 | async fn hello_world(_req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `socket`
[INFO] [stdout] --> tests/unit_udp.rs:16:9
[INFO] [stdout] |
[INFO] [stdout] 16 | let socket = AsyncUdpSocket::bind(addr).unwrap();
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `bufs`
[INFO] [stdout] --> tests/unit_udp.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 17 | let bufs = vec![b"hello", b"world"];
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bufs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/simple_hyper_server.rs:10:62
[INFO] [stdout] |
[INFO] [stdout] 10 | async fn hello_world(_req: Request) -> Result, Infallible> {
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 10 | async fn hello_world(_req: Request) -> Result, Infallible> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/simple_hyper_server.rs:11:22
[INFO] [stdout] |
[INFO] [stdout] 11 | Ok(Response::new(Body::from("Hello, Hyper on rust-miniss!")))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 11 | Ok(Response::new(::from("Hello, Hyper on rust-miniss!")))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `std::net::TcpStream` in the current scope
[INFO] [stdout] --> tests/vectored_io.rs:18:20
[INFO] [stdout] |
[INFO] [stdout] 18 | client.write_all(b"multi part data").unwrap();
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `write_all` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout] |
[INFO] [stdout] 3 + use ciborium_io::Write;
[INFO] [stdout] |
[INFO] [stdout] 3 + use std::io::Write;
[INFO] [stdout] |
[INFO] [stdout] help: there is a method `write` with a similar name
[INFO] [stdout] |
[INFO] [stdout] 18 - client.write_all(b"multi part data").unwrap();
[INFO] [stdout] 18 + client.write(b"multi part data").unwrap();
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> tests/vectored_io.rs:21:21
[INFO] [stdout] |
[INFO] [stdout] 21 | let n = server_stream.read_vectored(&mut bufs).await.unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:16:55
[INFO] [stdout] |
[INFO] [stdout] 16 | (&Method::GET, "/health") => Ok(Response::new(Body::from("OK"))),
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 16 | (&Method::GET, "/health") => Ok(Response::new(::from("OK"))),
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `from_addr`
[INFO] [stdout] --> tests/udp_async_tests.rs:149:30
[INFO] [stdout] |
[INFO] [stdout] 149 | let (bytes_received, from_addr) = result.unwrap();
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_addr`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> tests/vectored_io.rs:28:29
[INFO] [stdout] |
[INFO] [stdout] 28 | let partial_n = server_stream.read_vectored(&mut partial_bufs).await.unwrap();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `server_task`
[INFO] [stdout] --> tests/udp_async_tests.rs:166:13
[INFO] [stdout] |
[INFO] [stdout] 166 | let server_task = rust_miniss::task::spawn(async move {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_task`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> tests/vectored_io.rs:40:21
[INFO] [stdout] |
[INFO] [stdout] 40 | let n = socket.send_to_vectored(&slices, peer).await.unwrap(); // Assume added method
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout]
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:19:30
[INFO] [stdout] |
[INFO] [stdout] 19 | Ok(Response::new(Body::from("Echo response")))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 19 | Ok(Response::new(::from("Echo response")))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0432, E0782.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (test "vectored_io") due to 8 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (test "udp_async_tests") due to 1 previous error; 2 warnings emitted
[INFO] [stderr] error: could not compile `rust-miniss` (example "simple_hyper_server") due to 5 previous errors
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout] --> examples/hyper_integration.rs:23:19
[INFO] [stdout] |
[INFO] [stdout] 23 | .body(Body::from("Not Found"))
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout] |
[INFO] [stdout] 23 | .body(::from("Not Found"))
[INFO] [stdout] | ++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `make_service_fn` in this scope
[INFO] [stdout] --> examples/hyper_integration.rs:47:13
[INFO] [stdout] |
[INFO] [stdout] 47 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle_request)) });
[INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_fn`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/service/util.rs:30:1
[INFO] [stdout] |
[INFO] [stdout] 30 | / pub fn service_fn(f: F) -> ServiceFn
[INFO] [stdout] 31 | | where
[INFO] [stdout] 32 | | F: Fn(Request) -> S,
[INFO] [stdout] 33 | | S: Future,
[INFO] [stdout] | |______________- similarly named function `service_fn` defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Handle: Http2ServerConnExec<_, _>` is not satisfied
[INFO] [stdout] --> examples/hyper_integration.rs:65:57
[INFO] [stdout] |
[INFO] [stdout] 65 | .serve_connection(tokio_stream, service_fn(handle_request));
[INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hyper::rt::Executor>` is not implemented for `Handle`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] note: there are multiple different versions of crate `hyper` in the dependency graph
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/rt/mod.rs:45:1
[INFO] [stdout] |
[INFO] [stdout] 45 | pub trait Executor {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout] |
[INFO] [stdout] ::: examples/hyper_integration.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use hyper::service::service_fn;
[INFO] [stdout] | ----- one version of crate `hyper` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/handle.rs:14:1
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct Handle {
[INFO] [stdout] | ----------------- this type doesn't implement the required trait
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/common/lazy.rs:8:1
[INFO] [stdout] |
[INFO] [stdout] 8 | pub(crate) trait Started: Future {
[INFO] [stdout] | -------------------------------- this is the found trait
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] = note: required for `Handle` to implement `Http2ServerConnExec<_, _>`
[INFO] [stdout] note: required by a bound in `hyper::server::conn::http2::Builder::::serve_connection`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/server/conn/http2.rs:301:12
[INFO] [stdout] |
[INFO] [stdout] 294 | pub fn serve_connection(&self, io: I, service: S) -> Connection
[INFO] [stdout] | ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 301 | E: Http2ServerConnExec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve_connection`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Compat: hyper::rt::Read` is not satisfied
[INFO] [stdout] --> examples/hyper_integration.rs:65:43
[INFO] [stdout] |
[INFO] [stdout] 65 | .serve_connection(tokio_stream, service_fn(handle_request));
[INFO] [stdout] | ---------------- ^^^^^^^^^^^^ the trait `hyper::rt::Read` is not implemented for `Compat`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] note: there are multiple different versions of crate `hyper` in the dependency graph
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/rt/io.rs:28:1
[INFO] [stdout] |
[INFO] [stdout] 28 | pub trait Read {
[INFO] [stdout] | ^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout] |
[INFO] [stdout] ::: examples/hyper_integration.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use hyper::service::service_fn;
[INFO] [stdout] | ----- one version of crate `hyper` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/common/lazy.rs:8:1
[INFO] [stdout] |
[INFO] [stdout] 8 | pub(crate) trait Started: Future {
[INFO] [stdout] | -------------------------------- this is the found trait
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-util-0.7.16/src/compat.rs:113:1
[INFO] [stdout] |
[INFO] [stdout] 113 | / pin_project! {
[INFO] [stdout] 114 | | /// A compatibility layer that allows conversion between the
[INFO] [stdout] 115 | | /// `tokio::io` and `futures-io` `AsyncRead` and `AsyncWrite` traits.
[INFO] [stdout] 116 | | #[derive(Copy, Clone, Debug)]
[INFO] [stdout] ... |
[INFO] [stdout] 122 | | }
[INFO] [stdout] | |_- this type doesn't implement the required trait
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `hyper::server::conn::http2::Builder::::serve_connection`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/server/conn/http2.rs:300:12
[INFO] [stdout] |
[INFO] [stdout] 294 | pub fn serve_connection(&self, io: I, service: S) -> Connection
[INFO] [stdout] | ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 300 | I: Read + Write + Unpin,
[INFO] [stdout] | ^^^^ required by this bound in `Builder::::serve_connection`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Compat: hyper::rt::Write` is not satisfied
[INFO] [stdout] --> examples/hyper_integration.rs:65:43
[INFO] [stdout] |
[INFO] [stdout] 65 | .serve_connection(tokio_stream, service_fn(handle_request));
[INFO] [stdout] | ---------------- ^^^^^^^^^^^^ the trait `hyper::rt::Write` is not implemented for `Compat`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] note: there are multiple different versions of crate `hyper` in the dependency graph
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/rt/io.rs:48:1
[INFO] [stdout] |
[INFO] [stdout] 48 | pub trait Write {
[INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout] |
[INFO] [stdout] ::: examples/hyper_integration.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use hyper::service::service_fn;
[INFO] [stdout] | ----- one version of crate `hyper` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/common/lazy.rs:8:1
[INFO] [stdout] |
[INFO] [stdout] 8 | pub(crate) trait Started: Future {
[INFO] [stdout] | -------------------------------- this is the found trait
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-util-0.7.16/src/compat.rs:113:1
[INFO] [stdout] |
[INFO] [stdout] 113 | / pin_project! {
[INFO] [stdout] 114 | | /// A compatibility layer that allows conversion between the
[INFO] [stdout] 115 | | /// `tokio::io` and `futures-io` `AsyncRead` and `AsyncWrite` traits.
[INFO] [stdout] 116 | | #[derive(Copy, Clone, Debug)]
[INFO] [stdout] ... |
[INFO] [stdout] 122 | | }
[INFO] [stdout] | |_- this type doesn't implement the required trait
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `hyper::server::conn::http2::Builder::::serve_connection`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.7.0/src/server/conn/http2.rs:300:19
[INFO] [stdout] |
[INFO] [stdout] 294 | pub fn serve_connection(&self, io: I, service: S) -> Connection
[INFO] [stdout] | ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 300 | I: Read + Write + Unpin,
[INFO] [stdout] | ^^^^^ required by this bound in `Builder::::serve_connection`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0782.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust-miniss` (example "hyper_integration") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "91d44fef5e80ffd27d1ac09331beaa42e90ebe686d1cc32ab64a5d590cc2599e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91d44fef5e80ffd27d1ac09331beaa42e90ebe686d1cc32ab64a5d590cc2599e", kill_on_drop: false }`
[INFO] [stdout] 91d44fef5e80ffd27d1ac09331beaa42e90ebe686d1cc32ab64a5d590cc2599e