[INFO] cloning repository https://github.com/sassman/t-rec-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sassman/t-rec-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Ft-rec-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Ft-rec-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22eaa6b17447ac0f94fd7c8dbb1bb869b54aeab4 [INFO] checking sassman/t-rec-rs against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsassman%2Ft-rec-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sassman/t-rec-rs on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sassman/t-rec-rs [INFO] finished tweaking git repo https://github.com/sassman/t-rec-rs [INFO] tweaked toml for git repo https://github.com/sassman/t-rec-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/sassman/t-rec-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50a0f4ff5f72da353e4dbaeb4363d806af1293efce808ef087e7a4987855b94a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50a0f4ff5f72da353e4dbaeb4363d806af1293efce808ef087e7a4987855b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a0f4ff5f72da353e4dbaeb4363d806af1293efce808ef087e7a4987855b94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a0f4ff5f72da353e4dbaeb4363d806af1293efce808ef087e7a4987855b94a", kill_on_drop: false }` [INFO] [stdout] 50a0f4ff5f72da353e4dbaeb4363d806af1293efce808ef087e7a4987855b94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b6397ef5df68bb14dfe14eaefb40c991788052d0f27e03e37ac337c6b3d53d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a5b6397ef5df68bb14dfe14eaefb40c991788052d0f27e03e37ac337c6b3d53d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking weezl v0.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking t-rec v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::macos` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::macos::capture_window_screenshot; [INFO] [stdout] | ^^^^^ maybe a missing crate `macos`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::macos` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::macos::capture_window_screenshot; [INFO] [stdout] | ^^^^^ maybe a missing crate `macos`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cli::launch` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::cli::launch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::{mpsc, Arc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::{env, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cli::launch` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::cli::launch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::{mpsc, Arc, Mutex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::{env, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let (win_id, name) = get_window_id_for(terminal.to_owned()).context( [INFO] [stdout] | _____________^^^^^^^^^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `u32`, found tuple [INFO] [stdout] 215 | | format!( [INFO] [stdout] 216 | | "Cannot determine the window id of {}. Please set env variable 'WINDOWID' and try again.", terminal), [INFO] [stdout] 217 | | )?; [INFO] [stdout] | |__________- this expression has type `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let (win_id, name) = get_window_id_for(terminal.to_owned()).context( [INFO] [stdout] | _____________^^^^^^^^^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `u32`, found tuple [INFO] [stdout] 215 | | format!( [INFO] [stdout] 216 | | "Cannot determine the window id of {}. Please set env variable 'WINDOWID' and try again.", terminal), [INFO] [stdout] 217 | | )?; [INFO] [stdout] | |__________- this expression has type `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `t-rec` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5b6397ef5df68bb14dfe14eaefb40c991788052d0f27e03e37ac337c6b3d53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b6397ef5df68bb14dfe14eaefb40c991788052d0f27e03e37ac337c6b3d53d", kill_on_drop: false }` [INFO] [stdout] a5b6397ef5df68bb14dfe14eaefb40c991788052d0f27e03e37ac337c6b3d53d