[INFO] fetching crate someip 0.1.1... [INFO] building someip-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate someip 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate someip 0.1.1 [INFO] finished tweaking crates.io crate someip 0.1.1 [INFO] tweaked toml for crates.io crate someip 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate someip 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 145 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding simplelog v0.10.2 (available: v0.12.2) [INFO] [stderr] Adding someip_parse v0.2.0 (available: v0.6.2) [INFO] [stderr] Adding termcolor v1.1.3 (available: v1.4.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-util v0.6.10 (available: v0.7.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.10.2 [INFO] [stderr] Downloaded someip_parse v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 963dd18af257729dba507a3fc359d116f6813961ae33a8d43e8755e0505c0be3 [INFO] running `Command { std: "docker" "start" "-a" "963dd18af257729dba507a3fc359d116f6813961ae33a8d43e8755e0505c0be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "963dd18af257729dba507a3fc359d116f6813961ae33a8d43e8755e0505c0be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963dd18af257729dba507a3fc359d116f6813961ae33a8d43e8755e0505c0be3", kill_on_drop: false }` [INFO] [stdout] 963dd18af257729dba507a3fc359d116f6813961ae33a8d43e8755e0505c0be3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0207a86b73f816b80b585e3e30a60db448d0785757ff772cf84f79dfe860daad [INFO] running `Command { std: "docker" "start" "-a" "0207a86b73f816b80b585e3e30a60db448d0785757ff772cf84f79dfe860daad", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling someip_parse v0.2.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling someip v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:342:36 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | ... if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/sd_server.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | sd_server_sm::{SDServerStateMachineContainer, SMEvent, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StopOfferService` is never constructed [INFO] [stdout] --> src/sd_server.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | enum SDServerInternalMessage { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] 45 | OfferService(u16), [INFO] [stdout] 46 | StopOfferService(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.33s [INFO] running `Command { std: "docker" "inspect" "0207a86b73f816b80b585e3e30a60db448d0785757ff772cf84f79dfe860daad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0207a86b73f816b80b585e3e30a60db448d0785757ff772cf84f79dfe860daad", kill_on_drop: false }` [INFO] [stdout] 0207a86b73f816b80b585e3e30a60db448d0785757ff772cf84f79dfe860daad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c202e95dccc618aa6dc641b206ecfd280eabf3db7051d5cd777ba16d8617778 [INFO] running `Command { std: "docker" "start" "-a" "1c202e95dccc618aa6dc641b206ecfd280eabf3db7051d5cd777ba16d8617778", kill_on_drop: false }` [INFO] [stderr] Compiling simplelog v0.10.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:342:36 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | ... if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/sd_server.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | sd_server_sm::{SDServerStateMachineContainer, SMEvent, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StopOfferService` is never constructed [INFO] [stdout] --> src/sd_server.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | enum SDServerInternalMessage { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] 45 | OfferService(u16), [INFO] [stdout] 46 | StopOfferService(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling someip v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `someip_derive` [INFO] [stdout] --> src/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use someip_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `someip_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - use someip_derive::*; [INFO] [stdout] 24 + use someip_parse::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> src/tests.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[service( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service_impl` in this scope [INFO] [stdout] --> src/tests.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | #[service_impl(EchoServer)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::MethodError` [INFO] [stdout] --> src/tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::error::MethodError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceVersion` [INFO] [stdout] --> src/tests.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::server::{Server, ServiceInstance, ServiceVersion}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::Client` [INFO] [stdout] --> src/tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{client::Client, server::ServerRequestHandlerEntry}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:342:36 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | ... if let Some(mut pending) = pending_calls.get_mut(&request_id) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_server_request_handler` found for struct `EchoServerImpl` in the current scope [INFO] [stdout] --> src/tests.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct EchoServerImpl { [INFO] [stdout] | ------------------------- function or associated item `create_server_request_handler` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 184 | EchoServerImpl::create_server_request_handler(Arc::new(EchoServerImpl::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `EchoServerImpl` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `server::CreateServerRequestHandler` defines an item `create_server_request_handler`, perhaps you need to implement it [INFO] [stdout] --> src/server.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait CreateServerRequestHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | let res = proxy.echo_string(String::from("Hello World"), &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 207 | assert_eq!(res.unwrap(), String::from("Hello World")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 206 | let res: /* Type */ = proxy.echo_string(String::from("Hello World"), &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let res = proxy.echo_string(String::from("Hello World2"), &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 210 | assert_eq!(res.unwrap(), String::from("Hello World2")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 209 | let res: /* Type */ = proxy.echo_string(String::from("Hello World2"), &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | let res = proxy.echo_int(42i32, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 231 | assert_eq!(42i32, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 230 | let res: /* Type */ = proxy.echo_int(42i32, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let res = proxy.echo_u64(42, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | assert_eq!(42u64, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 233 | let res: /* Type */ = proxy.echo_u64(42, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:236:59 [INFO] [stdout] | [INFO] [stdout] 236 | proxy.value1.set(Field1::default()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 237 | proxy.value1.refresh().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let res = proxy.echo_struct(field, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 255 | assert_eq!(returned, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 254 | let res: /* Type */ = proxy.echo_struct(field, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_server_request_handler` found for struct `EchoServerImpl` in the current scope [INFO] [stdout] --> src/tests.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct EchoServerImpl { [INFO] [stdout] | ------------------------- function or associated item `create_server_request_handler` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | EchoServerImpl::create_server_request_handler(Arc::new(EchoServerImpl::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `EchoServerImpl` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `server::CreateServerRequestHandler` defines an item `create_server_request_handler`, perhaps you need to implement it [INFO] [stdout] --> src/server.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait CreateServerRequestHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | let res = proxy.echo_string(String::from("Hello World"), &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 313 | assert_eq!(res.unwrap(), String::from("Hello World")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 312 | let res: /* Type */ = proxy.echo_string(String::from("Hello World"), &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let res = proxy.echo_string(String::from("Hello World2"), &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 316 | assert_eq!(res.unwrap(), String::from("Hello World2")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 315 | let res: /* Type */ = proxy.echo_string(String::from("Hello World2"), &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | let res = proxy.echo_int(42i32, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 336 | assert_eq!(42i32, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 335 | let res: /* Type */ = proxy.echo_int(42i32, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | let res = proxy.echo_u64(42, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 339 | assert_eq!(42u64, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 338 | let res: /* Type */ = proxy.echo_u64(42, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:341:59 [INFO] [stdout] | [INFO] [stdout] 341 | proxy.value1.set(Field1::default()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:342:46 [INFO] [stdout] | [INFO] [stdout] 342 | proxy.value1.refresh().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | let res = proxy.echo_struct(field, &prop).await; [INFO] [stdout] | ^^^ [INFO] [stdout] 360 | assert_eq!(returned, res.unwrap()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 359 | let res: /* Type */ = proxy.echo_struct(field, &prop).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/sd_server.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | sd_server_sm::{SDServerStateMachineContainer, SMEvent, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `someip` (lib test) due to 19 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c202e95dccc618aa6dc641b206ecfd280eabf3db7051d5cd777ba16d8617778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c202e95dccc618aa6dc641b206ecfd280eabf3db7051d5cd777ba16d8617778", kill_on_drop: false }` [INFO] [stdout] 1c202e95dccc618aa6dc641b206ecfd280eabf3db7051d5cd777ba16d8617778