[INFO] crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 is already in cache [INFO] testing vertx-tcp-eventbus-bridge-client-rust-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate vertx-tcp-eventbus-bridge-client-rust 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa9d1ccdbe7df4c1d0099e2037e37ebce2e0faed35e438cdc2d248edcdbeb9d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aa9d1ccdbe7df4c1d0099e2037e37ebce2e0faed35e438cdc2d248edcdbeb9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9d1ccdbe7df4c1d0099e2037e37ebce2e0faed35e438cdc2d248edcdbeb9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9d1ccdbe7df4c1d0099e2037e37ebce2e0faed35e438cdc2d248edcdbeb9d4", kill_on_drop: false }` [INFO] [stdout] aa9d1ccdbe7df4c1d0099e2037e37ebce2e0faed35e438cdc2d248edcdbeb9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f726552848abdec899d99f79481ee0b9cc1f4b9df89e886a20ebb2f4d121401a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f726552848abdec899d99f79481ee0b9cc1f4b9df89e886a20ebb2f4d121401a", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [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 serde_derive v1.0.114 [INFO] [stderr] Compiling vertx-tcp-eventbus-bridge-client-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.59s [INFO] running `Command { std: "docker" "inspect" "f726552848abdec899d99f79481ee0b9cc1f4b9df89e886a20ebb2f4d121401a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f726552848abdec899d99f79481ee0b9cc1f4b9df89e886a20ebb2f4d121401a", kill_on_drop: false }` [INFO] [stdout] f726552848abdec899d99f79481ee0b9cc1f4b9df89e886a20ebb2f4d121401a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d127143780ec3047e9a98158c4defd489bbd5edb97ca6c208fe1dee0d853fb1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d127143780ec3047e9a98158c4defd489bbd5edb97ca6c208fe1dee0d853fb1c", 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)]` 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "d127143780ec3047e9a98158c4defd489bbd5edb97ca6c208fe1dee0d853fb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d127143780ec3047e9a98158c4defd489bbd5edb97ca6c208fe1dee0d853fb1c", kill_on_drop: false }` [INFO] [stdout] d127143780ec3047e9a98158c4defd489bbd5edb97ca6c208fe1dee0d853fb1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f197959528feed7d3bee2a9dd459dfb0b5f724534fad80c1f97bae6c7a726f23 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f197959528feed7d3bee2a9dd459dfb0b5f724534fad80c1f97bae6c7a726f23", 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)]` 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: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/vertx_tcp_eventbus_bridge_client_rust-3d708dfaec43cab1 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests vertx-tcp-eventbus-bridge-client-rust [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 [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] error[E0433]: failed to resolve: use of undeclared type or module `future` [INFO] [stdout] --> src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 3 | let task = future::Eventbus::connect(IpAddr::from_str("127.0.0.1").unwrap(), 12345); [INFO] [stdout] | ^^^^^^^^ not found in `future` [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[E0433]: failed to resolve: use of undeclared type or module `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] | ^^^^^^ not found in this scope [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:15:11 [INFO] [stdout] | [INFO] [stdout] 7 | body: json!(...), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f197959528feed7d3bee2a9dd459dfb0b5f724534fad80c1f97bae6c7a726f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f197959528feed7d3bee2a9dd459dfb0b5f724534fad80c1f97bae6c7a726f23", kill_on_drop: false }` [INFO] [stdout] f197959528feed7d3bee2a9dd459dfb0b5f724534fad80c1f97bae6c7a726f23