[INFO] fetching crate toca 0.1.1... [INFO] checking toca-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate toca 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate toca 0.1.1 [INFO] finished tweaking crates.io crate toca 0.1.1 [INFO] tweaked toml for crates.io crate toca 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate toca 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate toca 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enigo v0.0.14 [INFO] [stderr] Downloaded core-graphics v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 948f4dd4bcd307e743fed24b356d5cb39e41df55cb37cb4f92de0adab24cba6c [INFO] running `Command { std: "docker" "start" "-a" "948f4dd4bcd307e743fed24b356d5cb39e41df55cb37cb4f92de0adab24cba6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948f4dd4bcd307e743fed24b356d5cb39e41df55cb37cb4f92de0adab24cba6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948f4dd4bcd307e743fed24b356d5cb39e41df55cb37cb4f92de0adab24cba6c", kill_on_drop: false }` [INFO] [stdout] 948f4dd4bcd307e743fed24b356d5cb39e41df55cb37cb4f92de0adab24cba6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7585553d354f9bf11b00180f7fde2931f1c22dcd6754f8e762e22b544ee4e064 [INFO] running `Command { std: "docker" "start" "-a" "7585553d354f9bf11b00180f7fde2931f1c22dcd6754f8e762e22b544ee4e064", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Compiling device_query v1.1.1 [INFO] [stderr] Checking toca v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `*mut x11::xlib::_XDisplay` cannot be shared between threads safely [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ________________________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 420 | | match *btn { [INFO] [stdout] 421 | | 1 => { [INFO] [stdout] 422 | | let mut ev_queue_down = ev_queue_down.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 447 | | }); [INFO] [stdout] | |_________^ `*mut x11::xlib::_XDisplay` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `device_state::linux::X11Connection`, the trait `Sync` is not implemented for `*mut x11::xlib::_XDisplay` [INFO] [stdout] note: required because it appears within the type `device_state::linux::X11Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct X11Connection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `DeviceState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DeviceState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `on_mouse_down` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_events/mod.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn on_mouse_down( [INFO] [stdout] | ^^^^ required by this bound in `DeviceEvents::on_mouse_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut x11::xlib::_XDisplay` cannot be sent between threads safely [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ________________________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 420 | | match *btn { [INFO] [stdout] 421 | | 1 => { [INFO] [stdout] 422 | | let mut ev_queue_down = ev_queue_down.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 447 | | }); [INFO] [stdout] | |_________^ `*mut x11::xlib::_XDisplay` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `device_state::linux::X11Connection`, the trait `Send` is not implemented for `*mut x11::xlib::_XDisplay` [INFO] [stdout] note: required because it appears within the type `device_state::linux::X11Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct X11Connection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `DeviceState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DeviceState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `on_mouse_down` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_events/mod.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn on_mouse_down( [INFO] [stdout] | ^^^^ required by this bound in `DeviceEvents::on_mouse_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut x11::xlib::_XDisplay` cannot be shared between threads safely [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ________________________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 420 | | match *btn { [INFO] [stdout] 421 | | 1 => { [INFO] [stdout] 422 | | let mut ev_queue_down = ev_queue_down.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 447 | | }); [INFO] [stdout] | |_________^ `*mut x11::xlib::_XDisplay` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `device_state::linux::X11Connection`, the trait `Sync` is not implemented for `*mut x11::xlib::_XDisplay` [INFO] [stdout] note: required because it appears within the type `device_state::linux::X11Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct X11Connection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `DeviceState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DeviceState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `on_mouse_down` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_events/mod.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn on_mouse_down( [INFO] [stdout] | ^^^^ required by this bound in `DeviceEvents::on_mouse_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut x11::xlib::_XDisplay` cannot be sent between threads safely [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ________________________________________-------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 420 | | match *btn { [INFO] [stdout] 421 | | 1 => { [INFO] [stdout] 422 | | let mut ev_queue_down = ev_queue_down.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 447 | | }); [INFO] [stdout] | |_________^ `*mut x11::xlib::_XDisplay` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `device_state::linux::X11Connection`, the trait `Send` is not implemented for `*mut x11::xlib::_XDisplay` [INFO] [stdout] note: required because it appears within the type `device_state::linux::X11Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct X11Connection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Arc` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `DeviceState` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_state/linux/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DeviceState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/record.rs:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | let _guard_down = device_state.on_mouse_down(move |btn| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `on_mouse_down` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/device_query-1.1.1/src/device_events/mod.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | fn on_mouse_down( [INFO] [stdout] | ^^^^ required by this bound in `DeviceEvents::on_mouse_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toca` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toca` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7585553d354f9bf11b00180f7fde2931f1c22dcd6754f8e762e22b544ee4e064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7585553d354f9bf11b00180f7fde2931f1c22dcd6754f8e762e22b544ee4e064", kill_on_drop: false }` [INFO] [stdout] 7585553d354f9bf11b00180f7fde2931f1c22dcd6754f8e762e22b544ee4e064