[INFO] fetching crate zmq2 0.5.0...
[INFO] testing zmq2-0.5.0 against 1.83.0 for beta-1.84.0-4-retry
[INFO] extracting crate zmq2 0.5.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate zmq2 0.5.0 on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zmq2 0.5.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate zmq2 0.5.0
[INFO] tweaked toml for crates.io crate zmq2 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate zmq2 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dircpy v0.3.8
[INFO] [stderr]   Downloaded jobserver v0.1.24
[INFO] [stderr]   Downloaded system-deps v6.0.2
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded zmq-sys2 v0.3.0
[INFO] [stderr]   Downloaded num_threads v0.1.3
[INFO] [stderr]   Downloaded timebomb v0.1.2
[INFO] [stderr]   Downloaded env_logger v0.9.0
[INFO] [stderr]   Downloaded quickcheck v1.0.3
[INFO] [stderr]   Downloaded trybuild v1.0.56
[INFO] [stderr]   Downloaded atom v0.3.6
[INFO] [stderr]   Downloaded aho-corasick v0.7.18
[INFO] [stderr]   Downloaded pulse v0.5.3
[INFO] [stderr]   Downloaded time v0.3.7
[INFO] [stderr]   Downloaded cfg-expr v0.10.2
[INFO] [stderr]   Downloaded env_logger v0.8.4
[INFO] [stderr]   Downloaded time v0.1.43
[INFO] [stderr]   Downloaded nix v0.23.1
[INFO] [stderr]   Downloaded zeromq-src v0.2.2+4.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88c0773811f60aa43039e0c2ba1a803b33a96dad6ed7e4c871dde9d957f8c643
[INFO] running `Command { std: "docker" "start" "-a" "88c0773811f60aa43039e0c2ba1a803b33a96dad6ed7e4c871dde9d957f8c643", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88c0773811f60aa43039e0c2ba1a803b33a96dad6ed7e4c871dde9d957f8c643", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88c0773811f60aa43039e0c2ba1a803b33a96dad6ed7e4c871dde9d957f8c643", kill_on_drop: false }`
[INFO] [stdout] 88c0773811f60aa43039e0c2ba1a803b33a96dad6ed7e4c871dde9d957f8c643
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9007c7f3b6ec43dd0c080c553741ebec8dde7248ed59b7edd613c61ae39f245
[INFO] running `Command { std: "docker" "start" "-a" "e9007c7f3b6ec43dd0c080c553741ebec8dde7248ed59b7edd613c61ae39f245", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling zmq2 v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling cfg-expr v0.10.2
[INFO] [stderr]    Compiling dircpy v0.3.8
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling zeromq-src v0.2.2+4.3.4
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling system-deps v6.0.2
[INFO] [stderr]    Compiling zmq-sys2 v0.3.0
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.06s
[INFO] running `Command { std: "docker" "inspect" "e9007c7f3b6ec43dd0c080c553741ebec8dde7248ed59b7edd613c61ae39f245", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9007c7f3b6ec43dd0c080c553741ebec8dde7248ed59b7edd613c61ae39f245", kill_on_drop: false }`
[INFO] [stdout] e9007c7f3b6ec43dd0c080c553741ebec8dde7248ed59b7edd613c61ae39f245
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b32b46b272015e1479c43ca1dc56b722b9686fa0e6bec28cb328c7b8b919eb9c
[INFO] running `Command { std: "docker" "start" "-a" "b32b46b272015e1479c43ca1dc56b722b9686fa0e6bec28cb328c7b8b919eb9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling trybuild v1.0.56
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling atom v0.3.6
[INFO] [stderr]    Compiling num_threads v0.1.3
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling time v0.3.7
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling dircpy v0.3.8
[INFO] [stderr]    Compiling pulse v0.5.3
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling zeromq-src v0.2.2+4.3.4
[INFO] [stderr]    Compiling timebomb v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling nix v0.23.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling system-deps v6.0.2
[INFO] [stderr]    Compiling zmq-sys2 v0.3.0
[INFO] [stderr]    Compiling zmq2 v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Input` is never constructed
[INFO] [stdout]   --> tests/z85.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Input(Vec<u8>);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `compiletest_rs`
[INFO] [stdout]    --> tests/test.rs:589:7
[INFO] [stdout]     |
[INFO] [stdout] 589 | #[cfg(feature = "compiletest_rs")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default` and `zmq_has`
[INFO] [stdout]     = help: consider adding `compiletest_rs` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 38.84s
[INFO] running `Command { std: "docker" "inspect" "b32b46b272015e1479c43ca1dc56b722b9686fa0e6bec28cb328c7b8b919eb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b32b46b272015e1479c43ca1dc56b722b9686fa0e6bec28cb328c7b8b919eb9c", kill_on_drop: false }`
[INFO] [stdout] b32b46b272015e1479c43ca1dc56b722b9686fa0e6bec28cb328c7b8b919eb9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6cd3c8750542a98d79694865321cd45eb28ba1ffeff84ff902c749d67b4045d7
[INFO] running `Command { std: "docker" "start" "-a" "6cd3c8750542a98d79694865321cd45eb28ba1ffeff84ff902c749d67b4045d7", kill_on_drop: false }`
[INFO] [stderr] warning: struct `Input` is never constructed
[INFO] [stderr]   --> tests/z85.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | struct Input(Vec<u8>);
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zmq2` (test "z85") generated 1 warning
[INFO] [stderr] warning: unexpected `cfg` condition value: `compiletest_rs`
[INFO] [stderr]    --> tests/test.rs:589:7
[INFO] [stderr]     |
[INFO] [stderr] 589 | #[cfg(feature = "compiletest_rs")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default` and `zmq_has`
[INFO] [stderr]     = help: consider adding `compiletest_rs` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zmq2` (test "test") generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zmq2-f106737acd2e1ee6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compile-tests.rs (/opt/rustwide/target/debug/deps/compile_tests-dec5d2e7e312d79f)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] warning: `/opt/rustwide/target/tests/zmq2/.cargo/config` is deprecated in favor of `config.toml`
[INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling zmq2 v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking atom v0.3.6
[INFO] [stderr]     Checking num_threads v0.1.3
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling cfg-expr v0.10.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling dircpy v0.3.8
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking time v0.3.7
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking nix v0.23.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking pulse v0.5.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling zeromq-src v0.2.2+4.3.4
[INFO] [stderr]     Checking timebomb v0.1.2
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling system-deps v6.0.2
[INFO] [stderr]    Compiling zmq-sys2 v0.3.0
[INFO] [stderr]     Checking zmq2-tests v0.0.0 (/opt/rustwide/target/tests/zmq2)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.95s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile-fail/no-leaking-poll-items.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0597]: `socket` does not live long enough
[INFO] [stderr]  --> $DIR/no-leaking-poll-items.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let _poll_item = {
[INFO] [stderr]   |         ---------- borrow later stored here
[INFO] [stderr] 4 |         let socket = context.socket(zmq2::PAIR).unwrap();
[INFO] [stderr] 5 |         socket.as_poll_item(zmq2::POLLIN)
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stderr] 6 |     }; //~^ ERROR `socket` does not live long enough [E0597]
[INFO] [stderr]   |     - `socket` dropped here while still borrowed
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] warning: `/opt/rustwide/target/tests/zmq2/.cargo/config` is deprecated in favor of `config.toml`
[INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
[INFO] [stderr] error[E0597]: `socket` does not live long enough
[INFO] [stderr]  --> tests/compile-fail/no-leaking-poll-items.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let _poll_item = {
[INFO] [stderr]   |         ---------- borrow later stored here
[INFO] [stderr] 4 |         let socket = context.socket(zmq2::PAIR).unwrap();
[INFO] [stderr]   |             ------ binding `socket` declared here
[INFO] [stderr] 5 |         socket.as_poll_item(zmq2::POLLIN)
[INFO] [stderr]   |         ^^^^^^ borrowed value does not live long enough
[INFO] [stderr] 6 |     }; //~^ ERROR `socket` does not live long enough [E0597]
[INFO] [stderr]   |     - `socket` dropped here while still borrowed
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile-fail/socket-thread-unsafe.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0277]: `*mut c_void` cannot be shared between threads safely
[INFO] [stderr]    --> tests/compile-fail/socket-thread-unsafe.rs:13:13
[INFO] [stderr]     |
[INFO] [stderr] 13  |     let t = thread::spawn(move || {
[INFO] [stderr]     |             ^^^^^^^^^^^^^ `*mut c_void` cannot be shared between threads safely
[INFO] [stderr]     |
[INFO] [stderr]     = help: within `Socket`, the trait `Sync` is not implemented for `*mut c_void`
[INFO] [stderr]     = note: required because it appears within the type `Socket`
[INFO] [stderr]     = note: required because of the requirements on the impl of `Send` for `&Socket`
[INFO] [stderr]     = note: required because it appears within the type `[closure@$DIR/tests/compile-fail/socket-thread-unsafe.rs:13:27: 15:6]`
[INFO] [stderr] note: required by a bound in `spawn`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] warning: `/opt/rustwide/target/tests/zmq2/.cargo/config` is deprecated in favor of `config.toml`
[INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
[INFO] [stderr] error[E0277]: `*mut c_void` cannot be shared between threads safely
[INFO] [stderr]    --> tests/compile-fail/socket-thread-unsafe.rs:13:27
[INFO] [stderr]     |
[INFO] [stderr] 13  |       let t = thread::spawn(move || {
[INFO] [stderr]     |  _____________-------------_^
[INFO] [stderr]     | |             |
[INFO] [stderr]     | |             required by a bound introduced by this call
[INFO] [stderr] 14  | |         t!(s.bind("tcp://127.0.0.1:12345"))
[INFO] [stderr] 15  | |     });
[INFO] [stderr]     | |_____^ `*mut c_void` cannot be shared between threads safely
[INFO] [stderr]     |
[INFO] [stderr]     = help: within `Socket`, the trait `Sync` is not implemented for `*mut c_void`, which is required by `{closure@$DIR/tests/compile-fail/socket-thread-unsafe.rs:13:27: 13:34}: Send`
[INFO] [stderr] note: required because it appears within the type `Socket`
[INFO] [stderr]    --> src/lib.rs
[INFO] [stderr]     |
[INFO] [stderr]     | pub struct Socket {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr]     = note: required for `&Socket` to implement `Send`
[INFO] [stderr] note: required because it's used within this closure
[INFO] [stderr]    --> tests/compile-fail/socket-thread-unsafe.rs:13:27
[INFO] [stderr]     |
[INFO] [stderr] 13  |     let t = thread::spawn(move || {
[INFO] [stderr]     |                           ^^^^^^^
[INFO] [stderr] note: required by a bound in `spawn`
[INFO] [stderr]    --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:701:1
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test compile_fail ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_fail stdout ----
[INFO] [stdout] thread 'compile_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.56/src/run.rs:74:13:
[INFO] [stdout] 2 of 2 tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e44401dd49a - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5e44401dd49a - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5e44401dd49a - std::sys::backtrace::_print_fmt::hc4546b8364a537c6
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5e44401dd49a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b6bd5631a6d1f6b
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5e44402052e3 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5e44402052e3 - core::fmt::write::h7550c97b06c86515
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21
[INFO] [stdout]    6:     0x5e44401d9b73 - std::io::Write::write_fmt::h509ff860e5956e5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5e44401dd2e2 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5e44401de8fa - std::panicking::default_hook::{{closure}}::he19d4c7230e07961
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5e44401de704 - std::panicking::default_hook::hf614597d3c67bbdb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5e44401a7e89 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39b51ce4599c23d1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5e44401a7e89 - test::test_main::{{closure}}::he977ae839a582784
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5e44401def98 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9455091b6b06f9fb
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5e44401def98 - std::panicking::rust_panic_with_hook::h8942133a8b252070
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5e44401ded5a - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5e44401dd979 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5e44401de9ec - rust_begin_unwind
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5e443ffc3ca0 - core::panicking::panic_fmt::h0c3082644d1bf418
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14
[INFO] [stdout]   18:     0x5e44400243b1 - trybuild::run::<impl trybuild::Runner>::run::h5a46029670fcbcac
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.56/src/run.rs:74:13
[INFO] [stdout]   19:     0x5e4440028658 - <trybuild::TestCases as core::ops::drop::Drop>::drop::h9fc8c7d89d6fa67e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/trybuild-1.0.56/src/lib.rs:308:13
[INFO] [stdout]   20:     0x5e443ffc47e7 - core::ptr::drop_in_place<trybuild::TestCases>::he81ff97210dcc651
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ptr/mod.rs:574:1
[INFO] [stdout]   21:     0x5e443ffc4f23 - compile_tests::compile_fail::hc478a2f8dbbe814e
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile-tests.rs:5:1
[INFO] [stdout]   22:     0x5e443ffc4eb7 - compile_tests::compile_fail::{{closure}}::h7abbfc8760b42c91
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compile-tests.rs:2:18
[INFO] [stdout]   23:     0x5e443ffc4746 - core::ops::function::FnOnce::call_once::h3c4272ca0b5b941b
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e44401ac84b - core::ops::function::FnOnce::call_once::h109cf8051a59b34e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5e44401ac84b - test::__rust_begin_short_backtrace::hf4fff89d377446ba
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5e44401ac087 - test::run_test_in_process::{{closure}}::h0e39181dd7ee5a43
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5e44401ac087 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc5a66a30f0bdfd1f
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5e44401ac087 - std::panicking::try::do_call::h873b7cf639554a5e
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5e44401ac087 - std::panicking::try::hdb19862fad9c8bd1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5e44401ac087 - std::panic::catch_unwind::h281fe732d236d260
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5e44401ac087 - test::run_test_in_process::h949b6df8457ed338
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5e44401ac087 - test::run_test::{{closure}}::h52c556a6d4740e10
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5e4440171364 - test::run_test::{{closure}}::h4237f6381c45ccb9
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5e4440171364 - std::sys::backtrace::__rust_begin_short_backtrace::h505c97a579eca628
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5e4440174a2e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e86b2e2bc107ea3
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17
[INFO] [stdout]   36:     0x5e4440174a2e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8b06ddb275ff4a25
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5e4440174a2e - std::panicking::try::do_call::hb26ecd7cd9a9355d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5e4440174a2e - std::panicking::try::h8ddeca9d705f9069
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5e4440174a2e - std::panic::catch_unwind::h49e1c33078844c46
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5e4440174a2e - std::thread::Builder::spawn_unchecked_::{{closure}}::h6073db6ff56ad35d
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30
[INFO] [stdout]   41:     0x5e4440174a2e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c5a5f3779c774f1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5e44401e3c8b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf75717d9f28faebf
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5e44401e3c8b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7bd883a5f3c5f3c1
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5e44401e3c8b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94
[INFO] [stdout]                                at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x787f25458ac3 - <unknown>
[INFO] [stdout]   46:     0x787f254e9a04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     compile_fail
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.38s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test compile-tests`
[INFO] running `Command { std: "docker" "inspect" "6cd3c8750542a98d79694865321cd45eb28ba1ffeff84ff902c749d67b4045d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cd3c8750542a98d79694865321cd45eb28ba1ffeff84ff902c749d67b4045d7", kill_on_drop: false }`
[INFO] [stdout] 6cd3c8750542a98d79694865321cd45eb28ba1ffeff84ff902c749d67b4045d7
