[INFO] fetching crate zmq 0.10.0... [INFO] testing zmq-0.10.0 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate zmq 0.10.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zmq 0.10.0 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zmq 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zmq 0.10.0 [INFO] tweaked toml for crates.io crate zmq 0.10.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate zmq 0.10.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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2084280c9eeb842b4dc70985a2807bb42494581273cb173ff5f3eb53fae97fbd [INFO] running `Command { std: "docker" "start" "-a" "2084280c9eeb842b4dc70985a2807bb42494581273cb173ff5f3eb53fae97fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2084280c9eeb842b4dc70985a2807bb42494581273cb173ff5f3eb53fae97fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2084280c9eeb842b4dc70985a2807bb42494581273cb173ff5f3eb53fae97fbd", kill_on_drop: false }` [INFO] [stdout] 2084280c9eeb842b4dc70985a2807bb42494581273cb173ff5f3eb53fae97fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 868bde340d0f41e0c87da44eb7c7340168ac6de9439886e975c3c26e5b042424 [INFO] running `Command { std: "docker" "start" "-a" "868bde340d0f41e0c87da44eb7c7340168ac6de9439886e975c3c26e5b042424", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling cfg-expr v0.11.0 [INFO] [stderr] Compiling zmq v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling jwalk v0.6.0 [INFO] [stderr] Compiling dircpy v0.3.13 [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.3 [INFO] [stderr] Compiling zmq-sys v0.12.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.62s [INFO] running `Command { std: "docker" "inspect" "868bde340d0f41e0c87da44eb7c7340168ac6de9439886e975c3c26e5b042424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868bde340d0f41e0c87da44eb7c7340168ac6de9439886e975c3c26e5b042424", kill_on_drop: false }` [INFO] [stdout] 868bde340d0f41e0c87da44eb7c7340168ac6de9439886e975c3c26e5b042424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75b580d8ba7feff121ae06f1580cd81ffbc41b949510727bbcf1af2dd96ca91b [INFO] running `Command { std: "docker" "start" "-a" "75b580d8ba7feff121ae06f1580cd81ffbc41b949510727bbcf1af2dd96ca91b", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rayon v1.5.3 [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 jwalk v0.6.0 [INFO] [stderr] Compiling dircpy v0.3.13 [INFO] [stderr] Compiling zeromq-src v0.2.2+4.3.4 [INFO] [stderr] Compiling system-deps v6.0.3 [INFO] [stderr] Compiling zmq-sys v0.12.0 [INFO] [stderr] Compiling zmq v0.10.0 (/opt/rustwide/workdir) [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 for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> tests/z85.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Input(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 54.22s [INFO] running `Command { std: "docker" "inspect" "75b580d8ba7feff121ae06f1580cd81ffbc41b949510727bbcf1af2dd96ca91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b580d8ba7feff121ae06f1580cd81ffbc41b949510727bbcf1af2dd96ca91b", kill_on_drop: false }` [INFO] [stdout] 75b580d8ba7feff121ae06f1580cd81ffbc41b949510727bbcf1af2dd96ca91b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84dc4dd9e216a10ebcb5a133bc6d5b590395448e590f3d21a46a4a6259629b30 [INFO] running `Command { std: "docker" "start" "-a" "84dc4dd9e216a10ebcb5a133bc6d5b590395448e590f3d21a46a4a6259629b30", 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); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [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 for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zmq` (test "z85") generated 1 warning [INFO] [stderr] warning: `zmq` (test "test") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zmq-c08ca3ea96c1f398) [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-bdd64b41b9c76325) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] warning: `/opt/rustwide/target/tests/zmq/.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.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling zmq v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cfg-expr v0.11.0 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking env_logger v0.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling jwalk v0.6.0 [INFO] [stderr] Compiling dircpy v0.3.13 [INFO] [stderr] Compiling zeromq-src v0.2.2+4.3.4 [INFO] [stderr] Compiling system-deps v6.0.3 [INFO] [stderr] Compiling zmq-sys v0.12.0 [INFO] [stderr] Checking zmq-tests v0.0.0 (/opt/rustwide/target/tests/zmq) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.85s [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] --> 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(zmq::PAIR).unwrap(); [INFO] [stderr] 5 | socket.as_poll_item(zmq::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/zmq/.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(zmq::PAIR).unwrap(); [INFO] [stderr] | ------ binding `socket` declared here [INFO] [stderr] 5 | socket.as_poll_item(zmq::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'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] 14 | | t!(s.bind("tcp://127.0.0.1:12345")) [INFO] [stderr] 15 | | }); [INFO] [stderr] | |_____^ [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/zmq/.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/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/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: 0x5bd56f0cf2ea - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5bd56f0cf2ea - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5bd56f0cf2ea - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bd56f0cf2ea - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bd56f0f7103 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5bd56f0f7103 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x5bd56f0cbaf3 - std::io::Write::write_fmt::he91cdb71d5735485 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x5bd56f0cf132 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5bd56f0d074a - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5bd56f0d0554 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5bd56f099d19 - as core::ops::function::Fn>::call::h27e62728b51ac345 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x5bd56f099d19 - test::test_main::{{closure}}::hbed48e9da271eb2d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x5bd56f0d0de8 - as core::ops::function::Fn>::call::hd23f1b4f57a7d85e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x5bd56f0d0de8 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5bd56f0d0baa - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5bd56f0cf7c9 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5bd56f0d083c - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5bd56eeaeca0 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5bd56eefe531 - trybuild::run::::run::hbac815711f6f5dce [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: 0x5bd56ef027d8 - ::drop::h6ac5656c9ddaf7fe [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: 0x5bd56eeaf7e7 - core::ptr::drop_in_place::he7f19207a331152c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ptr/mod.rs:574:1 [INFO] [stdout] 21: 0x5bd56eeaff23 - compile_tests::compile_fail::h78e23c42bdda3f45 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile-tests.rs:5:1 [INFO] [stdout] 22: 0x5bd56eeafeb7 - compile_tests::compile_fail::{{closure}}::h32384eb945f49e2e [INFO] [stdout] at /opt/rustwide/workdir/tests/compile-tests.rs:2:18 [INFO] [stdout] 23: 0x5bd56eeaf786 - core::ops::function::FnOnce::call_once::h984f27f623142dd7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5bd56f09e60b - core::ops::function::FnOnce::call_once::h5ce2090d0ba06760 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5bd56f09e60b - test::__rust_begin_short_backtrace::h49e973657dd86077 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:621:18 [INFO] [stdout] 26: 0x5bd56f09ded7 - test::run_test_in_process::{{closure}}::hb4c111032eacbf3c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:60 [INFO] [stdout] 27: 0x5bd56f09ded7 - as core::ops::function::FnOnce<()>>::call_once::hc84870afebfce019 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5bd56f09ded7 - std::panicking::try::do_call::hce598b5d1a04cf08 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 29: 0x5bd56f09ded7 - std::panicking::try::h25a7aea9d63b441f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 30: 0x5bd56f09ded7 - std::panic::catch_unwind::h4b12b06a11af50d2 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x5bd56f09ded7 - test::run_test_in_process::hd69883821bd30381 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:27 [INFO] [stdout] 32: 0x5bd56f09ded7 - test::run_test::{{closure}}::he160a756db6d8677 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:565:43 [INFO] [stdout] 33: 0x5bd56f063104 - test::run_test::{{closure}}::h2e90a3191e3e0ce0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:595:41 [INFO] [stdout] 34: 0x5bd56f063104 - std::sys::backtrace::__rust_begin_short_backtrace::he01c960b1833637c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 35: 0x5bd56f06686e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30b75746266698d7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 36: 0x5bd56f06686e - as core::ops::function::FnOnce<()>>::call_once::h6a5dff2677e9a6c5 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5bd56f06686e - std::panicking::try::do_call::h5e069e9a53dd16f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 38: 0x5bd56f06686e - std::panicking::try::h0f789115e2be34bc [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 39: 0x5bd56f06686e - std::panic::catch_unwind::h5caa505f99ba7d23 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x5bd56f06686e - std::thread::Builder::spawn_unchecked_::{{closure}}::ha405b857d4a0e18b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 41: 0x5bd56f06686e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3c96c07e3187855 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5bd56f0d5adb - as core::ops::function::FnOnce>::call_once::hfe31dd51cc8f40d6 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x5bd56f0d5adb - as core::ops::function::FnOnce>::call_once::h424186ab2917e76f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 44: 0x5bd56f0d5adb - std::sys::pal::unix::thread::Thread::new::thread_start::h5bbddfcb1fc1838d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 45: 0x795ebdcf3ac3 - [INFO] [stdout] 46: 0x795ebdd84a04 - clone [INFO] [stdout] 47: 0x0 - [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 23.41s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test compile-tests` [INFO] running `Command { std: "docker" "inspect" "84dc4dd9e216a10ebcb5a133bc6d5b590395448e590f3d21a46a4a6259629b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84dc4dd9e216a10ebcb5a133bc6d5b590395448e590f3d21a46a4a6259629b30", kill_on_drop: false }` [INFO] [stdout] 84dc4dd9e216a10ebcb5a133bc6d5b590395448e590f3d21a46a4a6259629b30