[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#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca45d09c82aa27a9da6d9340cb707a8100ca6ce8c71f386d7b87134e9c516b23 [INFO] running `Command { std: "docker" "start" "-a" "ca45d09c82aa27a9da6d9340cb707a8100ca6ce8c71f386d7b87134e9c516b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca45d09c82aa27a9da6d9340cb707a8100ca6ce8c71f386d7b87134e9c516b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca45d09c82aa27a9da6d9340cb707a8100ca6ce8c71f386d7b87134e9c516b23", kill_on_drop: false }` [INFO] [stdout] ca45d09c82aa27a9da6d9340cb707a8100ca6ce8c71f386d7b87134e9c516b23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f66a61ca6b90535e783a40b491077eedfb5d786180861943ff9ea9efee1051fd [INFO] running `Command { std: "docker" "start" "-a" "f66a61ca6b90535e783a40b491077eedfb5d786180861943ff9ea9efee1051fd", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [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 mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.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 4.77s [INFO] running `Command { std: "docker" "inspect" "f66a61ca6b90535e783a40b491077eedfb5d786180861943ff9ea9efee1051fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66a61ca6b90535e783a40b491077eedfb5d786180861943ff9ea9efee1051fd", kill_on_drop: false }` [INFO] [stdout] f66a61ca6b90535e783a40b491077eedfb5d786180861943ff9ea9efee1051fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 621655a3d9c3df8f861563146c63fadf593c4cdb26d081f1d5d628071f39bf9d [INFO] running `Command { std: "docker" "start" "-a" "621655a3d9c3df8f861563146c63fadf593c4cdb26d081f1d5d628071f39bf9d", 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 1.01s [INFO] running `Command { std: "docker" "inspect" "621655a3d9c3df8f861563146c63fadf593c4cdb26d081f1d5d628071f39bf9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621655a3d9c3df8f861563146c63fadf593c4cdb26d081f1d5d628071f39bf9d", kill_on_drop: false }` [INFO] [stdout] 621655a3d9c3df8f861563146c63fadf593c4cdb26d081f1d5d628071f39bf9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 189e774e2b7278630bcaa61b0277754e862e7158f4d211005709f16a577d5ea6 [INFO] running `Command { std: "docker" "start" "-a" "189e774e2b7278630bcaa61b0277754e862e7158f4d211005709f16a577d5ea6", 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-7157576e33a4ac2d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_send ... ok [INFO] [stderr] Doc-tests vertx_tcp_eventbus_bridge_client_rust [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "189e774e2b7278630bcaa61b0277754e862e7158f4d211005709f16a577d5ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189e774e2b7278630bcaa61b0277754e862e7158f4d211005709f16a577d5ea6", kill_on_drop: false }` [INFO] [stdout] 189e774e2b7278630bcaa61b0277754e862e7158f4d211005709f16a577d5ea6