[INFO] fetching crate vertx-tcp-eventbus-bridge-client-rust 0.2.0... [INFO] testing vertx-tcp-eventbus-bridge-client-rust-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 [INFO] finished tweaking crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 [INFO] tweaked toml for crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding crossbeam v0.3.2 (available: v0.8.4) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9c5331ef726d0c7eafba17732a14d95820a8f4f7fb959f4f11ce1d4734096ee [INFO] running `Command { std: "docker" "start" "-a" "f9c5331ef726d0c7eafba17732a14d95820a8f4f7fb959f4f11ce1d4734096ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9c5331ef726d0c7eafba17732a14d95820a8f4f7fb959f4f11ce1d4734096ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c5331ef726d0c7eafba17732a14d95820a8f4f7fb959f4f11ce1d4734096ee", kill_on_drop: false }` [INFO] [stdout] f9c5331ef726d0c7eafba17732a14d95820a8f4f7fb959f4f11ce1d4734096ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0fafc8cb958ec48967ba415cd32c8853d1d4df29c5b27cc1f919848baa5f77a [INFO] running `Command { std: "docker" "start" "-a" "a0fafc8cb958ec48967ba415cd32c8853d1d4df29c5b27cc1f919848baa5f77a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling vertx-tcp-eventbus-bridge-client-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "a0fafc8cb958ec48967ba415cd32c8853d1d4df29c5b27cc1f919848baa5f77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fafc8cb958ec48967ba415cd32c8853d1d4df29c5b27cc1f919848baa5f77a", kill_on_drop: false }` [INFO] [stdout] a0fafc8cb958ec48967ba415cd32c8853d1d4df29c5b27cc1f919848baa5f77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ca96df1bec8ded1b1eed0e95ab186442e87eedfbae2d9e9dd55bcbee3c040c8 [INFO] running `Command { std: "docker" "start" "-a" "4ca96df1bec8ded1b1eed0e95ab186442e87eedfbae2d9e9dd55bcbee3c040c8", kill_on_drop: false }` [INFO] [stderr] Compiling vertx-tcp-eventbus-bridge-client-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:55:72 [INFO] [stdout] | [INFO] [stdout] 55 | tokio::spawn(readstream.into_future().map(|_| ()).map_err(|e| ())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:56:73 [INFO] [stdout] | [INFO] [stdout] 56 | tokio::spawn(writestream.into_future().map(|_| ()).map_err(|e| ())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | tokio::run(task.map_err(|e| ())); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "4ca96df1bec8ded1b1eed0e95ab186442e87eedfbae2d9e9dd55bcbee3c040c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca96df1bec8ded1b1eed0e95ab186442e87eedfbae2d9e9dd55bcbee3c040c8", kill_on_drop: false }` [INFO] [stdout] 4ca96df1bec8ded1b1eed0e95ab186442e87eedfbae2d9e9dd55bcbee3c040c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46b0def5e95ae66027f86d3c82a1796d5ba5d01a1fe6511e36e96649c60f444a [INFO] running `Command { std: "docker" "start" "-a" "46b0def5e95ae66027f86d3c82a1796d5ba5d01a1fe6511e36e96649c60f444a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | tokio::spawn(readstream.into_future().map(|_| ()).map_err(|e| ())); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:56:73 [INFO] [stderr] | [INFO] [stderr] 56 | tokio::spawn(writestream.into_future().map(|_| ()).map_err(|e| ())); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:68:34 [INFO] [stderr] | [INFO] [stderr] 68 | tokio::run(task.map_err(|e| ())); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `vertx-tcp-eventbus-bridge-client-rust` (lib test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vertx_tcp_eventbus_bridge_client_rust-d14af611d80fb555) [INFO] [stderr] Doc-tests vertx_tcp_eventbus_bridge_client_rust [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_send ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/request.rs - request::Request (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/request.rs - request::Request (line 11) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/request.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 8 | body: json!(...), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 10 | let test_reply = eventbus.send_reply("test".to_string(), json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `future` [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 3 | let task = future::Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `future` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | let task = futures::Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] | + [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vertx_tcp_eventbus_bridge_client_rust::future::Eventbus; [INFO] [stdout] | [INFO] [stdout] help: if you import `Eventbus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let task = future::Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] 3 + let task = Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/lib.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 3 | let task = future::Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] | ^^^^^^ use of undeclared type `IpAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Eventbus` in this scope [INFO] [stdout] --> src/lib.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 9 | let task = task.and_then(|eventbus: Eventbus| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vertx_tcp_eventbus_bridge_client_rust::future::Eventbus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/request.rs - request::Request (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "46b0def5e95ae66027f86d3c82a1796d5ba5d01a1fe6511e36e96649c60f444a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b0def5e95ae66027f86d3c82a1796d5ba5d01a1fe6511e36e96649c60f444a", kill_on_drop: false }` [INFO] [stdout] 46b0def5e95ae66027f86d3c82a1796d5ba5d01a1fe6511e36e96649c60f444a