[INFO] fetching crate zmq2 0.5.0... [INFO] testing zmq2-0.5.0 against beta-2024-09-05 for beta-1.82-1 [INFO] extracting crate zmq2 0.5.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate zmq2 0.5.0 on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "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-6-tc2/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" "+beta-2024-09-05" "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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b586c08e56264977263758025fd76b094862fcfb73ad200b5bef361a8decce [INFO] running `Command { std: "docker" "start" "-a" "08b586c08e56264977263758025fd76b094862fcfb73ad200b5bef361a8decce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b586c08e56264977263758025fd76b094862fcfb73ad200b5bef361a8decce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b586c08e56264977263758025fd76b094862fcfb73ad200b5bef361a8decce", kill_on_drop: false }` [INFO] [stdout] 08b586c08e56264977263758025fd76b094862fcfb73ad200b5bef361a8decce [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e31cfd4cf5e240a38f0016cded30e2e04bab82293dd136e298297538d712dd7b [INFO] running `Command { std: "docker" "start" "-a" "e31cfd4cf5e240a38f0016cded30e2e04bab82293dd136e298297538d712dd7b", 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 serde_derive v1.0.136 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.8.0 [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] 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 16.37s [INFO] running `Command { std: "docker" "inspect" "e31cfd4cf5e240a38f0016cded30e2e04bab82293dd136e298297538d712dd7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31cfd4cf5e240a38f0016cded30e2e04bab82293dd136e298297538d712dd7b", kill_on_drop: false }` [INFO] [stdout] e31cfd4cf5e240a38f0016cded30e2e04bab82293dd136e298297538d712dd7b [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50373ae727385815d1851f0eb57a827b564f2759ae8e1b1ef9dbc75da03183e0 [INFO] running `Command { std: "docker" "start" "-a" "50373ae727385815d1851f0eb57a827b564f2759ae8e1b1ef9dbc75da03183e0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling dircpy v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling zeromq-src v0.2.2+4.3.4 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling timebomb v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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); [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 for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.08s [INFO] running `Command { std: "docker" "inspect" "50373ae727385815d1851f0eb57a827b564f2759ae8e1b1ef9dbc75da03183e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50373ae727385815d1851f0eb57a827b564f2759ae8e1b1ef9dbc75da03183e0", kill_on_drop: false }` [INFO] [stdout] 50373ae727385815d1851f0eb57a827b564f2759ae8e1b1ef9dbc75da03183e0 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1935aa8b0ab85d792f42adb3378c0b6a6bd83967b0b95b7d3eec60ab830cc468 [INFO] running `Command { std: "docker" "start" "-a" "1935aa8b0ab85d792f42adb3378c0b6a6bd83967b0b95b7d3eec60ab830cc468", 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: `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 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zmq2-36dd811ab3b40138) [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-465ffb40604866e9) [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] Locking 1 package to latest compatible version [INFO] [stderr] Adding zmq2-tests v0.0.0 (/opt/rustwide/target/tests/zmq2) [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 heck v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling zmq2 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling dircpy v0.3.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking timebomb v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zeromq-src v0.2.2+4.3.4 [INFO] [stderr] Checking env_logger v0.8.4 [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 11.32s [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/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:672: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: 0x587a694756ca - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x587a694756ca - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x587a694756ca - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x587a694756ca - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x587a6949da9b - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x587a6949da9b - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x587a69471e03 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x587a69476ed2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x587a69476ed2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x587a69476a13 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x587a69440899 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x587a69440899 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x587a69477792 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x587a69477792 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x587a69477447 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x587a69475ba9 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x587a694770d4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x587a6924ed13 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x587a69255621 - trybuild::run::::run::hc3781cd5f4c4d41e [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: 0x587a6925b5a8 - ::drop::h21baee267df642ca [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: 0x587a6924f927 - core::ptr::drop_in_place::h260a6ff1aeffe556 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ptr/mod.rs:574:1 [INFO] [stdout] 21: 0x587a69250063 - compile_tests::compile_fail::h173be91e31197e31 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile-tests.rs:5:1 [INFO] [stdout] 22: 0x587a6924fff7 - compile_tests::compile_fail::{{closure}}::h5ebef6328a6f743a [INFO] [stdout] at /opt/rustwide/workdir/tests/compile-tests.rs:2:18 [INFO] [stdout] 23: 0x587a6924f8c6 - core::ops::function::FnOnce::call_once::ha12d3b894034e4f9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x587a6944520b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x587a6944520b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x587a69444a88 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x587a69444a88 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x587a69444a88 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 29: 0x587a69444a88 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 30: 0x587a69444a88 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 31: 0x587a69444a88 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x587a69444a88 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 33: 0x587a69409e54 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x587a69409e54 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 35: 0x587a6940d502 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 36: 0x587a6940d502 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x587a6940d502 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x587a6940d502 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x587a6940d502 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 40: 0x587a6940d502 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 41: 0x587a6940d502 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x587a6947c74b - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 43: 0x587a6947c74b - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 44: 0x587a6947c74b - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 45: 0x729b051acac3 - [INFO] [stdout] 46: 0x729b0523da04 - 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 11.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test compile-tests` [INFO] running `Command { std: "docker" "inspect" "1935aa8b0ab85d792f42adb3378c0b6a6bd83967b0b95b7d3eec60ab830cc468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1935aa8b0ab85d792f42adb3378c0b6a6bd83967b0b95b7d3eec60ab830cc468", kill_on_drop: false }` [INFO] [stdout] 1935aa8b0ab85d792f42adb3378c0b6a6bd83967b0b95b7d3eec60ab830cc468