[INFO] fetching crate tmq-zmq 0.9.0... [INFO] checking tmq-zmq-0.9.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate tmq-zmq 0.9.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tmq-zmq 0.9.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tmq-zmq 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tmq-zmq 0.9.0 [INFO] tweaked toml for crates.io crate tmq-zmq 0.9.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.5) [INFO] [stderr] Adding nix v0.11.1 (available: v0.29.0) [INFO] [stderr] Adding quickcheck v0.6.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded timebomb v0.1.2 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded compiletest_rs v0.11.1 [INFO] [stderr] Downloaded rustfix v0.8.6 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded tmq-zmq-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89da9f5cddf1242aecafb9fa7b0b858f4ead9202d262bc42968dccaa9d353668 [INFO] running `Command { std: "docker" "start" "-a" "89da9f5cddf1242aecafb9fa7b0b858f4ead9202d262bc42968dccaa9d353668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89da9f5cddf1242aecafb9fa7b0b858f4ead9202d262bc42968dccaa9d353668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89da9f5cddf1242aecafb9fa7b0b858f4ead9202d262bc42968dccaa9d353668", kill_on_drop: false }` [INFO] [stdout] 89da9f5cddf1242aecafb9fa7b0b858f4ead9202d262bc42968dccaa9d353668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 163d69ea94a0e572cefe3e410b76a866d99a5c5c63e51c4f00297af9c7e1e633 [INFO] running `Command { std: "docker" "start" "-a" "163d69ea94a0e572cefe3e410b76a866d99a5c5c63e51c4f00297af9c7e1e633", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling tmq-zmq-sys v0.9.0 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Compiling tmq-zmq v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/syncsub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/lvcache/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/helloworld_client/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> tests/test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/rtreq/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/syncpub/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zmq` [INFO] [stdout] --> examples/zguide/weather_client/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate zmq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "syncsub") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tmq-zmq` (example "helloworld_client") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "syncpub") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "lvcache") due to 1 previous error [INFO] [stderr] error: could not compile `tmq-zmq` (example "weather_client") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (example "rtreq") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (test "message") due to 1 previous error [INFO] [stdout] error[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> tests/test.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_socketpair() -> (Socket, Socket) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> tests/test.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_socketpair() -> (Socket, Socket) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let ctx = Context::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SNDMORE` in this scope [INFO] [stdout] --> tests/test.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | receiver.send("foo", SNDMORE).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(receiver.poll(POLLIN, 1000).unwrap(), 0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | let mut poll_items = vec![receiver.as_poll_item(POLLIN)]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POLLIN` in this scope [INFO] [stdout] --> tests/test.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(poll_items[0].get_revents(), POLLIN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(err, Error::EFSM); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let e: io::Error = Error::ENOENT.into(); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STREAM` in this scope [INFO] [stdout] --> tests/test.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | let sock = ctx.socket(STREAM).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:204:27 [INFO] [stdout] | [INFO] [stdout] 204 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUB` in this scope [INFO] [stdout] --> tests/test.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | let sock = ctx.socket(SUB).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 238 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:302:27 [INFO] [stdout] | [INFO] [stdout] 302 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 319 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 412 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 430 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | let sock_a = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | let sock_b = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 451 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | ctx.socket(REQ).unwrap() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:454:43 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(sock.get_socket_type(), Ok(REQ)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:460:27 [INFO] [stdout] | [INFO] [stdout] 460 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:468:27 [INFO] [stdout] | [INFO] [stdout] 468 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 476 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 485 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:486:27 [INFO] [stdout] | [INFO] [stdout] 486 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:494:15 [INFO] [stdout] | [INFO] [stdout] 494 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:507:16 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(Error::EAGAIN, sender.send("foo", DONTWAIT).unwrap_err()); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DONTWAIT` in this scope [INFO] [stdout] --> tests/test.rs:507:50 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(Error::EAGAIN, sender.send("foo", DONTWAIT).unwrap_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> tests/test.rs:513:16 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(Error::ENOENT, sender.disconnect("tcp://192.0.2.1:2233").unwrap_err()); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 + use io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 518 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 526 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:527:27 [INFO] [stdout] | [INFO] [stdout] 527 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:535:27 [INFO] [stdout] | [INFO] [stdout] 535 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:542:15 [INFO] [stdout] | [INFO] [stdout] 542 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:543:27 [INFO] [stdout] | [INFO] [stdout] 543 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/test.rs:550:15 [INFO] [stdout] | [INFO] [stdout] 550 | let ctx = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ` in this scope [INFO] [stdout] --> tests/test.rs:551:27 [INFO] [stdout] | [INFO] [stdout] 551 | let sock = ctx.socket(REQ).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/test.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut msg = Message::with_capacity(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll` in this scope [INFO] [stdout] --> tests/test.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(poll(&mut poll_items, 1000).unwrap(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | let mut sock = ctx.socket(SocketType::REQ).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Socket` [INFO] [stdout] --> tests/test.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let _ = unsafe { Socket::from_raw(raw) }; [INFO] [stdout] | ^^^^^^ use of undeclared type `Socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `version` in this scope [INFO] [stdout] --> tests/test.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let (major, _, _) = version(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | let sock = ctx.socket(SocketType::REP).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurveKeyPair` [INFO] [stdout] --> tests/test.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let keypair = CurveKeyPair::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurveKeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | SocketType::PAIR, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | SocketType::PUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | SocketType::SUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | SocketType::REQ, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | SocketType::REP, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | SocketType::DEALER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | SocketType::ROUTER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | SocketType::PULL, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | SocketType::PUSH, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | SocketType::XPUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | SocketType::XSUB, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketType` [INFO] [stdout] --> tests/test.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | SocketType::STREAM, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:404:47 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(sock.get_mechanism().unwrap(), Mechanism::ZMQ_PLAIN); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | assert!(sock.get_mechanism().unwrap() == Mechanism::ZMQ_NULL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:416:47 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(sock.get_mechanism().unwrap(), Mechanism::ZMQ_PLAIN); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mechanism` [INFO] [stdout] --> tests/test.rs:419:46 [INFO] [stdout] | [INFO] [stdout] 419 | assert!(sock.get_mechanism().unwrap() == Mechanism::ZMQ_NULL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mechanism` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:469:15 [INFO] [stdout] | [INFO] [stdout] 469 | let key = z85_decode("FX5b8g5ZnOk7$Q}^)Y&?.v3&MIe+]OU7DTKynkUL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | let key = z85_decode("s9N%S3*NKSU$6pUnpBI&K5HBd[]G$Y3yrK?mhdbS").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z85_decode` in this scope [INFO] [stdout] --> tests/test.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 487 | let key = z85_decode("FX5b8g5ZnOk7$Q}^)Y&?.v3&MIe+]OU7DTKynkUL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tmq-zmq` (test "test") due to 128 previous errors [INFO] running `Command { std: "docker" "inspect" "163d69ea94a0e572cefe3e410b76a866d99a5c5c63e51c4f00297af9c7e1e633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163d69ea94a0e572cefe3e410b76a866d99a5c5c63e51c4f00297af9c7e1e633", kill_on_drop: false }` [INFO] [stdout] 163d69ea94a0e572cefe3e410b76a866d99a5c5c63e51c4f00297af9c7e1e633