[INFO] cloning repository https://github.com/cptfinch/rust-barrier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cptfinch/rust-barrier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptfinch%2Frust-barrier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptfinch%2Frust-barrier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e39d43f9661cf6aabb087f70be1cc21bf2591d4 [INFO] checking cptfinch/rust-barrier against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptfinch%2Frust-barrier" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cptfinch/rust-barrier [INFO] finished tweaking git repo https://github.com/cptfinch/rust-barrier [INFO] tweaked toml for git repo https://github.com/cptfinch/rust-barrier written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cptfinch/rust-barrier on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cptfinch/rust-barrier 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2680f7dec510b0407ee7a27a1635fc92fc59b90ba7f832506d7445c8000c6320 [INFO] running `Command { std: "docker" "start" "-a" "2680f7dec510b0407ee7a27a1635fc92fc59b90ba7f832506d7445c8000c6320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2680f7dec510b0407ee7a27a1635fc92fc59b90ba7f832506d7445c8000c6320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2680f7dec510b0407ee7a27a1635fc92fc59b90ba7f832506d7445c8000c6320", kill_on_drop: false }` [INFO] [stdout] 2680f7dec510b0407ee7a27a1635fc92fc59b90ba7f832506d7445c8000c6320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca08f66e6f9060927c7640e7489583589ce5d99ddf26993cdd93e9e70671407 [INFO] running `Command { std: "docker" "start" "-a" "9ca08f66e6f9060927c7640e7489583589ce5d99ddf26993cdd93e9e70671407", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking xkbcommon v0.5.1 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking rust-barrier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/platform/x11.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct X11Platform { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | state: xkb::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/platform/x11.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct X11Platform { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | state: xkb::State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `xkbcommon::xkb::Context` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/xkb_test.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | println!("Context: {:?}", context); [INFO] [stdout] | ---- ^^^^^^^ `xkbcommon::xkb::Context` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `xkbcommon::xkb::Context` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> tests/xkb_test.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let keymap = xkb::Keymap::new_from_names( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&_`, found `Option<_>` [INFO] [stdout] --> tests/xkb_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: expected `&_`, found `Option<_>` [INFO] [stdout] --> tests/xkb_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: expected `&_`, found `Option<_>` [INFO] [stdout] --> tests/xkb_test.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: expected `&_`, found `Option<_>` [INFO] [stdout] --> tests/xkb_test.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xkbcommon-0.5.1/src/xkb/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn new_from_names + ?Sized>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 10 | &None, [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 11 | &None, [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | &None, [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | &None, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Keymap` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> tests/xkb_test.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | println!("Keymap: {:?}", keymap); [INFO] [stdout] | ---- ^^^^^^ `Keymap` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `Keymap` [INFO] [stdout] = help: the trait `std::fmt::Debug` is implemented for `Option` [INFO] [stdout] = note: required for `Option` to implement `std::fmt::Debug` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-barrier` (test "xkb_test") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9ca08f66e6f9060927c7640e7489583589ce5d99ddf26993cdd93e9e70671407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca08f66e6f9060927c7640e7489583589ce5d99ddf26993cdd93e9e70671407", kill_on_drop: false }` [INFO] [stdout] 9ca08f66e6f9060927c7640e7489583589ce5d99ddf26993cdd93e9e70671407