[INFO] fetching crate jsonrpc_client 0.7.1... [INFO] testing jsonrpc_client-0.7.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate jsonrpc_client 0.7.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate jsonrpc_client 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate jsonrpc_client 0.7.1 [INFO] tweaked toml for crates.io crate jsonrpc_client 0.7.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpc_client 0.7.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpc_client 0.7.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff65931bcfc36ed766a6b8de9912a8851754daedbf01879f3a1b0ed9c4d521e2 [INFO] running `Command { std: "docker" "start" "-a" "ff65931bcfc36ed766a6b8de9912a8851754daedbf01879f3a1b0ed9c4d521e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff65931bcfc36ed766a6b8de9912a8851754daedbf01879f3a1b0ed9c4d521e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff65931bcfc36ed766a6b8de9912a8851754daedbf01879f3a1b0ed9c4d521e2", kill_on_drop: false }` [INFO] [stdout] ff65931bcfc36ed766a6b8de9912a8851754daedbf01879f3a1b0ed9c4d521e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 326aed4b4e3f44fa935b4c76f424f4235ec8c9ea3efa5975bbad81710d01392d [INFO] running `Command { std: "docker" "start" "-a" "326aed4b4e3f44fa935b4c76f424f4235ec8c9ea3efa5975bbad81710d01392d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling jsonrpc_client_macro v0.3.0 [INFO] [stderr] Compiling jsonrpc_client v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.02s [INFO] running `Command { std: "docker" "inspect" "326aed4b4e3f44fa935b4c76f424f4235ec8c9ea3efa5975bbad81710d01392d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326aed4b4e3f44fa935b4c76f424f4235ec8c9ea3efa5975bbad81710d01392d", kill_on_drop: false }` [INFO] [stdout] 326aed4b4e3f44fa935b4c76f424f4235ec8c9ea3efa5975bbad81710d01392d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 113d79fb832912039be0c975b76d46d7cbd56706074e95c25a6bdc60f97e139f [INFO] running `Command { std: "docker" "start" "-a" "113d79fb832912039be0c975b76d46d7cbd56706074e95c25a6bdc60f97e139f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling secp256k1 v0.19.0 [INFO] [stderr] Compiling testcontainers v0.11.0 [INFO] [stderr] Compiling bitcoin v0.25.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.12.0 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling jsonrpc_client v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.55s [INFO] running `Command { std: "docker" "inspect" "113d79fb832912039be0c975b76d46d7cbd56706074e95c25a6bdc60f97e139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "113d79fb832912039be0c975b76d46d7cbd56706074e95c25a6bdc60f97e139f", kill_on_drop: false }` [INFO] [stdout] 113d79fb832912039be0c975b76d46d7cbd56706074e95c25a6bdc60f97e139f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d57ed4dc4a18b0ad25cc2f9eb34b85c820cd10e78c146fd2e02d2154b8ef26b [INFO] running `Command { std: "docker" "start" "-a" "5d57ed4dc4a18b0ad25cc2f9eb34b85c820cd10e78c146fd2e02d2154b8ef26b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpc_client-1725909a69c8292c) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::deserialize_error_response_with_data ... ok [INFO] [stdout] test tests::deserialize_success_response ... ok [INFO] [stdout] test tests::deserialize_v2_error_response ... ok [INFO] [stdout] test tests::deserialize_v1_error_response_result_first_error_second_unit_type ... ok [INFO] [stdout] test tests::deserialize_v1_error_response_result_first_error_second ... ok [INFO] [stdout] test tests::serialize_request_v1 ... ok [INFO] [stdout] test tests::serialize_request_v2 ... ok [INFO] [stdout] test tests::serialize_request_v2_empty_params ... ok [INFO] [stdout] test tests::deserialize_v1_error_response_error_first_result_second ... ok [INFO] [stdout] test tests::deserialize_v1_error_no_result ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/macros.rs (/opt/rustwide/target/debug/deps/macros-fc6434a1fa409f4e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test creates_correct_v1_request ... ok [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-f30236f46c85cff6) [INFO] [stdout] test creates_correct_v2_default_request ... ok [INFO] [stdout] test test_impls_math_api ... ok [INFO] [stdout] test creates_correct_v2_request ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling jsonrpc_client_macro v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling secp256k1 v0.19.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling jsonrpc_client v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling testcontainers v0.11.0 [INFO] [stderr] Compiling bitcoin v0.25.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.12.0 [INFO] [stderr] Compiling jsonrpc_client-tests v0.0.0 (/opt/rustwide/target/tests/jsonrpc_client) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.61s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test client_error_needs_to_implement_from.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | impl SendRequest for InnerClient { [INFO] [stderr] | ^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] ::: $WORKSPACE/lib/src/lib.rs [INFO] [stderr] | [INFO] [stderr] | Error: From, [INFO] [stderr] | ----------------- required by this bound in `SendRequest` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as From> [INFO] [stderr] as From> [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[jsonrpc_client::api] [INFO] [stderr] | ---------------------- required by this bound in `Math` [INFO] [stderr] 6 | pub trait Math { [INFO] [stderr] | ---- required by a bound in this [INFO] [stderr] ... [INFO] [stderr] 35 | #[jsonrpc_client::implement(Math)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as From> [INFO] [stderr] as From> [INFO] [stderr] = note: this error originates in the attribute macro `jsonrpc_client::implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `SendRequest` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 458 | pub trait SendRequest: 'static [INFO] [stderr] | ----------- required by a bound in this trait [INFO] [stderr] 459 | where [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | impl SendRequest for InnerClient { [INFO] [stderr] | ^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `SendRequest` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 458 | pub trait SendRequest: 'static [INFO] [stderr] | ----------- required by a bound in this trait [INFO] [stderr] 459 | where [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | #[jsonrpc_client::implement(Math)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `SendRequest` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 458 | pub trait SendRequest: 'static [INFO] [stderr] | ----------- required by a bound in this trait [INFO] [stderr] 459 | where [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest` [INFO] [stderr] = note: this error originates in the attribute macro `jsonrpc_client::implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | #[jsonrpc_client::implement(Math)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `Math` [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[jsonrpc_client::api] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Math` [INFO] [stderr] 6 | pub trait Math { [INFO] [stderr] | ---- required by a bound in this trait [INFO] [stderr] = note: this error originates in the attribute macro `jsonrpc_client::implement` which comes from the expansion of the attribute macro `jsonrpc_client::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:27:89 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `jsonrpc_client::SendRequest::Error` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest::Error` [INFO] [stderr] 461 | { [INFO] [stderr] 462 | type Error: StdError; [INFO] [stderr] | ----- required by a bound in this associated type [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | inner: InnerClient, [INFO] [stderr] | ^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `jsonrpc_client::SendRequest::Error` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest::Error` [INFO] [stderr] 461 | { [INFO] [stderr] 462 | type Error: StdError; [INFO] [stderr] | ----- required by a bound in this associated type [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `jsonrpc_client::Error: From` is not satisfied [INFO] [stderr] --> $DIR/client_error_needs_to_implement_from.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | #[jsonrpc_client::implement(Math)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `jsonrpc_client::Error` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `From` [INFO] [stderr] --> $DIR/lib.rs:378:1 [INFO] [stderr] | [INFO] [stderr] 378 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] ... [INFO] [stderr] 384 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `jsonrpc_client::Error` implements `From` [INFO] [stderr] note: required by a bound in `send_request` [INFO] [stderr] --> $DIR/lib.rs:460:25 [INFO] [stderr] | [INFO] [stderr] 460 | Error: From, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ required by this bound in `SendRequest::send_request` [INFO] [stderr] ... [INFO] [stderr] 464 | async fn send_request

( [INFO] [stderr] | ------------ required by a bound in this associated function [INFO] [stderr] = note: this error originates in the attribute macro `jsonrpc_client::implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test client_without_attr_and_naming_convention.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: struct needs to have either a field named `inner` or one tagged with `#[jsonrpc_client(inner)]` [INFO] [stderr] --> $DIR/client_without_attr_and_naming_convention.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Client { [INFO] [stderr] | ___________________^ [INFO] [stderr] 43 | | inner_client: InnerClient, [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: struct needs to have either a field named `inner` or one tagged with `#[jsonrpc_client(inner)]` [INFO] [stderr] --> $DIR/client_without_attr_and_naming_convention.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Client { [INFO] [stderr] | ___________________^ [INFO] [stderr] 43 | | inner_client: InnerClient, [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `endpoint` [INFO] [stderr] --> $DIR/client_without_attr_and_naming_convention.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> $DIR/client_without_attr_and_naming_convention.rs:27:52 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test client_without_base_url.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: struct needs to have either a field named `base_url` or one tagged with `#[jsonrpc_client(base_url)]` [INFO] [stderr] --> $DIR/client_without_base_url.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Client { [INFO] [stderr] | ___________________^ [INFO] [stderr] 43 | | inner: InnerClient, [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: struct needs to have either a field named `base_url` or one tagged with `#[jsonrpc_client(base_url)]` [INFO] [stderr] --> $DIR/client_without_base_url.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Client { [INFO] [stderr] | ___________________^ [INFO] [stderr] 43 | | inner: InnerClient, [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `endpoint` [INFO] [stderr] --> $DIR/client_without_base_url.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> $DIR/client_without_base_url.rs:27:52 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_request

(&self, endpoint: Url, body: String) -> Result, Self::Error> [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test client_without_fields.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: struct needs to have a client and a base URL [INFO] [stderr] --> $DIR/client_without_fields.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Client; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: struct needs to have a client and a base URL [INFO] [stderr] --> $DIR/client_without_fields.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test default_body.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: trait method must not have a default implementation [INFO] [stderr] --> $DIR/default_body.rs:3:68 [INFO] [stderr] | [INFO] [stderr] 3 | async fn subtract(&self, subtrahend: i64, minuend: i64) -> i64 { [INFO] [stderr] | ____________________________________________________________________^ [INFO] [stderr] 4 | | 10 [INFO] [stderr] 5 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: trait method must not have a default implementation [INFO] [stderr] --> $DIR/default_body.rs:3:68 [INFO] [stderr] | [INFO] [stderr] 3 | async fn subtract(&self, subtrahend: i64, minuend: i64) -> i64 { [INFO] [stderr] | ____________________________________________________________________^ [INFO] [stderr] 4 | | 10 [INFO] [stderr] 5 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test fn_must_be_async.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: trait methods have to be async [INFO] [stderr] --> $DIR/fn_must_be_async.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | fn subtract(&self, subtrahend: i64, minuend: i64) -> i64; [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: trait methods have to be async [INFO] [stderr] --> $DIR/fn_must_be_async.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | fn subtract(&self, subtrahend: i64, minuend: i64) -> i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test invalid_version.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: argument to `version` must be either "1.0" or "2.0" [INFO] [stderr] --> $DIR/invalid_version.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | #[jsonrpc_client::api(version = "blub")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: argument to `version` must be either "1.0" or "2.0" [INFO] [stderr] --> $DIR/invalid_version.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | #[jsonrpc_client::api(version = "blub")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test non_serializable_arguments.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Number: Serialize` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: Number, minuend: Number) -> u64; [INFO] [stderr] | ^^^^^^^^^^ the trait `Serialize` is not implemented for `Number` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Number: Serialize` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:5:50 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: Number, minuend: Number) -> u64; [INFO] [stderr] | ^^^^^^^ the trait `Serialize` is not implemented for `Number` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error[E0277]: the trait bound `Number: Serialize` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: Number, minuend: Number) -> u64; [INFO] [stderr] | ^^^^^^^^^^ ------ required by a bound introduced by this call [INFO] [stderr] | | [INFO] [stderr] | unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `Serialize` is not implemented for `Number` [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | struct Number; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `Serialize`: [INFO] [stderr] &'a T [INFO] [stderr] &'a mut T [INFO] [stderr] () [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] (T0, T1, T2, T3) [INFO] [stderr] (T0, T1, T2, T3, T4) [INFO] [stderr] (T0, T1, T2, T3, T4, T5) [INFO] [stderr] and 133 others [INFO] [stderr] note: required by a bound in `jsonrpc_client::Request::with_argument` [INFO] [stderr] --> $DIR/lib.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn with_argument( [INFO] [stderr] | ^^^^^^^^^ required by this bound in `Request::with_argument` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Number: Serialize` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:5:50 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: Number, minuend: Number) -> u64; [INFO] [stderr] | ^^^^^^^ ------ required by a bound introduced by this call [INFO] [stderr] | | [INFO] [stderr] | unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `Serialize` is not implemented for `Number` [INFO] [stderr] --> $DIR/non_serializable_arguments.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | struct Number; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `Serialize`: [INFO] [stderr] &'a T [INFO] [stderr] &'a mut T [INFO] [stderr] () [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] (T0, T1, T2, T3) [INFO] [stderr] (T0, T1, T2, T3, T4) [INFO] [stderr] (T0, T1, T2, T3, T4, T5) [INFO] [stderr] and 133 others [INFO] [stderr] note: required by a bound in `jsonrpc_client::Request::with_argument` [INFO] [stderr] --> $DIR/lib.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn with_argument( [INFO] [stderr] | ^^^^^^^^^ required by this bound in `Request::with_argument` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test non_serializable_return_value.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `for<'de> Number: Deserialize<'de>` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_return_value.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: i64, minuend: i64) -> Number; [INFO] [stderr] | ^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Number` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `DeserializeOwned` for `Number` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error[E0277]: the trait bound `Number: DeserializeOwned` is not satisfied [INFO] [stderr] --> $DIR/non_serializable_return_value.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | async fn subtract(&self, subtrahend: i64, minuend: i64) -> Number; [INFO] [stderr] | ^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Number` [INFO] [stderr] --> $DIR/non_serializable_return_value.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | struct Number; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stderr] &'a Path [INFO] [stderr] &'a [u8] [INFO] [stderr] &'a str [INFO] [stderr] () [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] (T0, T1, T2, T3) [INFO] [stderr] (T0, T1, T2, T3, T4) [INFO] [stderr] and 131 others [INFO] [stderr] = note: required for `Number` to implement `DeserializeOwned` [INFO] [stderr] note: required by a bound in `Math::send_request` [INFO] [stderr] --> $DIR/non_serializable_return_value.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[jsonrpc_client::api] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Math::send_request` [INFO] [stderr] = note: this error originates in the attribute macro `jsonrpc_client::api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test other_attribute.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: invalid configuration attribute, currently only `version` is supported [INFO] [stderr] --> $DIR/other_attribute.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | #[jsonrpc_client::api(foo = "bar")] [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: invalid configuration attribute, currently only `version` is supported [INFO] [stderr] --> $DIR/other_attribute.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | #[jsonrpc_client::api(foo = "bar")] [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test trait_with_const.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: trait must only define methods [INFO] [stderr] --> $DIR/trait_with_const.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | const FOO: i32; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: trait must only define methods [INFO] [stderr] --> $DIR/trait_with_const.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | const FOO: i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test trait_with_type.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: trait must only define methods [INFO] [stderr] --> $DIR/trait_with_type.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | type Foo; [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] error: trait must only define methods [INFO] [stderr] --> $DIR/trait_with_type.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | type Foo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test lint_is_carried_over.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] WARNINGS: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test trait_in_module.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] WARNINGS: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/jsonrpc_client/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui' (41) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.45/src/run.rs:73:13: [INFO] [stdout] 12 of 14 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5bcd39684a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bcd39684a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bcd39684a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bcd39684a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bcd396955ff - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bcd396955ff - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5bcd3964fd23 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bcd3964fd23 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bcd3965ceb2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bcd3966250f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bcd396623a1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5bcd396226be - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5bcd396226be - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5bcd39662b1f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5bcd39662b1f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5bcd3966297a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5bcd3965cfe9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5bcd396435ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5bcd3969e6f0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5bcd3958b9ac - trybuild::run::::run::h10eae8c4542afa78 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.45/src/run.rs:73:13 [INFO] [stdout] 20: 0x5bcd395877d8 - ::drop::h2f97978a4fbccaf8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.45/src/lib.rs:304:38 [INFO] [stdout] 21: 0x5bcd39475227 - core::ptr::drop_in_place::h17872f15c97571a1 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/mod.rs:805:1 [INFO] [stdout] 22: 0x5bcd3947505b - ui::ui::hf78c0b8f3340c829 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:8:1 [INFO] [stdout] 23: 0x5bcd39475087 - ui::ui::{{closure}}::hfd2a789a74bcad07 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:4:8 [INFO] [stdout] 24: 0x5bcd39475186 - core::ops::function::FnOnce::call_once::h1b9bf0f796c32bd9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5bcd3962250b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5bcd3962250b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5bcd3963651d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5bcd3963651d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5bcd3963651d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5bcd3963651d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5bcd3963651d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5bcd3963651d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5bcd3963651d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5bcd3960fa64 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5bcd3960fa64 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5bcd3961339a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x5bcd3961339a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5bcd3961339a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5bcd3961339a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5bcd3961339a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5bcd3961339a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x5bcd3961339a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5bcd3965823f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 44: 0x5bcd3965823f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 45: 0x78e301190aa4 - [INFO] [stdout] 46: 0x78e30121da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 50.54s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "5d57ed4dc4a18b0ad25cc2f9eb34b85c820cd10e78c146fd2e02d2154b8ef26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d57ed4dc4a18b0ad25cc2f9eb34b85c820cd10e78c146fd2e02d2154b8ef26b", kill_on_drop: false }` [INFO] [stdout] 5d57ed4dc4a18b0ad25cc2f9eb34b85c820cd10e78c146fd2e02d2154b8ef26b