[INFO] fetching crate wterm-sessionizer 0.0.29-alpha... [INFO] testing wterm-sessionizer-0.0.29-alpha against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wterm-sessionizer 0.0.29-alpha into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate wterm-sessionizer 0.0.29-alpha [INFO] finished tweaking crates.io crate wterm-sessionizer 0.0.29-alpha [INFO] tweaked toml for crates.io crate wterm-sessionizer 0.0.29-alpha written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wterm-sessionizer 0.0.29-alpha on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wterm-sessionizer 0.0.29-alpha 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3c0add1f87aad0a8d2ecc09dc91c604ab89d467048f601146f70194db81d693 [INFO] running `Command { std: "docker" "start" "-a" "f3c0add1f87aad0a8d2ecc09dc91c604ab89d467048f601146f70194db81d693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3c0add1f87aad0a8d2ecc09dc91c604ab89d467048f601146f70194db81d693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c0add1f87aad0a8d2ecc09dc91c604ab89d467048f601146f70194db81d693", kill_on_drop: false }` [INFO] [stdout] f3c0add1f87aad0a8d2ecc09dc91c604ab89d467048f601146f70194db81d693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d545e6a8a956aab2269cd6f4c292be03b46d3e66dd7a5b362b112727e42e636 [INFO] running `Command { std: "docker" "start" "-a" "1d545e6a8a956aab2269cd6f4c292be03b46d3e66dd7a5b362b112727e42e636", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling windows-sys v0.52.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling ctrlc v3.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling wterm-sessionizer v0.0.29-alpha (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/repos.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../dialogue/windows_input.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut key_event: KEY_EVENT_RECORD; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ForceShutdown` is never constructed [INFO] [stdout] --> src/bin/../dialogue/dialogue_ui.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum DialogueMessage { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | ForceShutdown, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prompt` is never used [INFO] [stdout] --> src/bin/../dialogue/dialogue_ui.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Dialogue where T: Display, T: Eq, T: Clone { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn prompt(&mut self, str: &str) -> &mut Dialogue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_y` is never used [INFO] [stdout] --> src/bin/../dialogue/dialogue_ui.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 451 | impl RendererPosition { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 466 | fn with_y(&self, y: usize) -> RendererPosition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_attributes` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/repos.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | let has_banned_attrs = metadata.file_attributes() & BANNED_ATTRS > 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - let has_banned_attrs = metadata.file_attributes() & BANNED_ATTRS > 0; [INFO] [stdout] 87 + let has_banned_attrs = metadata.file_type() & BANNED_ATTRS > 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dialogue/windows_input.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut key_event: KEY_EVENT_RECORD; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repos.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut selection = Dialogue::new(rx).prompt("Select repository").interact(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repos.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | _ => Ok(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 46 | Commands::FindProject(FindProjectArgs { path, new_tab }) => { [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 49 | Commands::OnChangedDirectory { path } => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Commands::ExpandCd { path } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Commands::Init {} => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | _ => Ok(()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wterm-sessionizer` (bin "wts") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcVfL1qH/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows_sys-175d46d6aed82664,libwindows_targets-ee011e7ae1c0ba6e,libencode_unicode-d7286f5348fd1458,libindicatif-5ccd43dac8de3aa0,libportable_atomic-d5a6801603634bf9,libnumber_prefix-8479f39d71e80d3e,libdialoguer-0a7e8a348d888724,libshell_words-577647bd4f992c17,libtempfile-57d74fa48f4092c7,libfastrand-490e27826ae329fc,librustix-226c918b9a52b87e,libbitflags-2dca024d43a0c2f6,liblinux_raw_sys-a6a6b028d8cdab2c,libzeroize-1be4c5cc0a0f7c30,libfuzzy_matcher-94bb8ad769e8b2e6,libthread_local-d5da2ac9bf724ea4,libcfg_if-33ef6c02a07f9fec,libonce_cell-24c5d665b6879050,libthiserror-dbcfac28df53750c,libconsole-c2956e54cb0c4aca,liblibc-c64eddf1d3f0dc2a,libunicode_width-ff8848b4c91bc42d,liblazy_static-2bb390fee0230a38}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcVfL1qH/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows_x86_64_gnu-0.52.5/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_dialogue-b4d4439fb33e6576" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: GetStdHandle [INFO] [stdout] >>> referenced by windows_input.rs:121 (src/bin/../dialogue/windows_input.rs:121) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_dialogue-b4d4439fb33e6576.test_dialogue.dc8098cbb95375e0-cgu.4.rcgu.o:(test_dialogue::dialogue::windows_input::get_stdin_handle::h6047c103ccf50502) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ReadConsoleInputW [INFO] [stdout] >>> referenced by windows_input.rs:93 (src/bin/../dialogue/windows_input.rs:93) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_dialogue-b4d4439fb33e6576.test_dialogue.dc8098cbb95375e0-cgu.4.rcgu.o:(test_dialogue::dialogue::windows_input::try_read_key_event::h1fda4e8b7328f6a9) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetNumberOfConsoleInputEvents [INFO] [stdout] >>> referenced by windows_input.rs:133 (src/bin/../dialogue/windows_input.rs:133) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/test_dialogue-b4d4439fb33e6576.test_dialogue.dc8098cbb95375e0-cgu.4.rcgu.o:(test_dialogue::dialogue::windows_input::get_key_event_count::h76e66961addedd9c) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wterm-sessionizer` (bin "test_dialogue") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d545e6a8a956aab2269cd6f4c292be03b46d3e66dd7a5b362b112727e42e636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d545e6a8a956aab2269cd6f4c292be03b46d3e66dd7a5b362b112727e42e636", kill_on_drop: false }` [INFO] [stdout] 1d545e6a8a956aab2269cd6f4c292be03b46d3e66dd7a5b362b112727e42e636