[INFO] cloning repository https://github.com/dgreen42/vg-usb-interface [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgreen42/vg-usb-interface" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgreen42%2Fvg-usb-interface", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgreen42%2Fvg-usb-interface'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b86ef2df92e1fabc0cb3378a4a6f0e9a0b496657 [INFO] testing dgreen42/vg-usb-interface against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgreen42%2Fvg-usb-interface" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dgreen42/vg-usb-interface [INFO] finished tweaking git repo https://github.com/dgreen42/vg-usb-interface [INFO] tweaked toml for git repo https://github.com/dgreen42/vg-usb-interface written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgreen42/vg-usb-interface 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 git repo https://github.com/dgreen42/vg-usb-interface 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] [stderr] warning: unused manifest key: bin1 [INFO] [stderr] warning: unused manifest key: bin2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6793fa6c57d6f294687a45c3c134318923ef1416b5e3ab74e025cc54134a1d6a [INFO] running `Command { std: "docker" "start" "-a" "6793fa6c57d6f294687a45c3c134318923ef1416b5e3ab74e025cc54134a1d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6793fa6c57d6f294687a45c3c134318923ef1416b5e3ab74e025cc54134a1d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6793fa6c57d6f294687a45c3c134318923ef1416b5e3ab74e025cc54134a1d6a", kill_on_drop: false }` [INFO] [stdout] 6793fa6c57d6f294687a45c3c134318923ef1416b5e3ab74e025cc54134a1d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 86877e138c915643ff85e25b3eee7b245073508797f81005b33e4c457e3dac4a [INFO] running `Command { std: "docker" "start" "-a" "86877e138c915643ff85e25b3eee7b245073508797f81005b33e4c457e3dac4a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin1 [INFO] [stderr] warning: unused manifest key: bin2 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cmk v0.1.2 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling posix v0.0.2 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling fltk-sys v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.6.1 [INFO] [stderr] Compiling fltk v1.5.1 [INFO] [stderr] Compiling fltk-theme v0.7.3 [INFO] [stderr] Compiling vg_usb_interface v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output::Output` [INFO] [stdout] --> src/gui.rs:7:189 [INFO] [stdout] | [INFO] [stdout] 7 | ...input::{Input, IntInput}, menu::{self, Choice, SysMenuBar}, output::Output, prelude::*, table::Table, window::Window, text::TextDisplay [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lines` [INFO] [stdout] --> src/read_write_utils.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufRead, BufReader, Lines, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_themes_preferences_grid_result1` [INFO] [stdout] --> src/gui.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | let l_themes_preferences_grid_result1 = preferences_grid.set_widget(&mut l_p1, 1, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_themes_preferences_grid_result1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_themes_preferences_grid_result1` [INFO] [stdout] --> src/gui.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | let c_themes_preferences_grid_result1 = preferences_grid.set_widget(&mut c_p1, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_themes_preferences_grid_result1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_themes_preferences_grid_result2` [INFO] [stdout] --> src/gui.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | let l_themes_preferences_grid_result2 = preferences_grid.set_widget(&mut l_p2, 2, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_themes_preferences_grid_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_themes_preferences_grid_result2` [INFO] [stdout] --> src/gui.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | let c_themes_preferences_grid_result2 = preferences_grid.set_widget(&mut c_p2, 2, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_themes_preferences_grid_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l_themes_preferences_grid_result3` [INFO] [stdout] --> src/gui.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | let l_themes_preferences_grid_result3 = preferences_grid.set_widget(&mut l_p3, 3, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_themes_preferences_grid_result3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_themes_preferences_grid_result3` [INFO] [stdout] --> src/gui.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | let c_themes_preferences_grid_result3 = preferences_grid.set_widget(&mut c_p3, 3, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_themes_preferences_grid_result3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data` is never read [INFO] [stdout] --> src/start_gui.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut data: Vec = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `device_status_state` is never read [INFO] [stdout] --> src/start_gui.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut device_status_state = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_name` is never read [INFO] [stdout] --> src/start_gui.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut file_name = String::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `theme` is never read [INFO] [stdout] --> src/start_gui.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut theme = default_theme; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_file` [INFO] [stdout] --> src/start_gui.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let log_file = match File::options().append(true).open(log_path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con_device` [INFO] [stdout] --> src/start_gui.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | ... let con_device = match port_connection::connect_port_tty(&device , baud_rate, &parity, timeout, exclusivity, &data_bits, &flow_cont... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_con_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con_device` [INFO] [stdout] --> src/start_gui.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | ... let con_device = match port_connection::connect_port_tty(&device , baud_rate, &parity, timeout, exclusivity, &data_bits, &flow_cont... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_con_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/start_gui.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut device_preferences_choices = device_preferences.0.1; [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] error[E0433]: failed to resolve: could not find `Win32` in `windows_sys` [INFO] [stdout] --> src/bin/vg-usb-interface_windows.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::System::Console::FreeConsole; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-sys-0.59.0/src/Windows/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "Win32")] [INFO] [stdout] | ----------------- the item is gated behind the `Win32` feature [INFO] [stdout] 4 | pub mod Win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vg_usb_interface::windows` [INFO] [stdout] --> src/bin/vg-usb-interface_windows.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vg_usb_interface::windows; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `windows` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 22 | pub fn windows() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vg_usb_interface::macos` [INFO] [stdout] --> src/bin/vg-usb-interface_macos.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vg_usb_interface::macos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `macos` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 27 | pub fn macos() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vg_usb_interface` (bin "vg-usb-interface_windows") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vg_usb_interface` (bin "vg-usb-interface_macos") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "86877e138c915643ff85e25b3eee7b245073508797f81005b33e4c457e3dac4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86877e138c915643ff85e25b3eee7b245073508797f81005b33e4c457e3dac4a", kill_on_drop: false }` [INFO] [stdout] 86877e138c915643ff85e25b3eee7b245073508797f81005b33e4c457e3dac4a