[INFO] cloning repository https://github.com/AnickaBurova/redirect-keyboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnickaBurova/redirect-keyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fredirect-keyboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fredirect-keyboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afc99160b548734d6fe438615dbcd28bc818cfda [INFO] checking AnickaBurova/redirect-keyboard against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fredirect-keyboard" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/redirect-keyboard on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnickaBurova/redirect-keyboard [INFO] finished tweaking git repo https://github.com/AnickaBurova/redirect-keyboard [INFO] tweaked toml for git repo https://github.com/AnickaBurova/redirect-keyboard written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/AnickaBurova/redirect-keyboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 468f6d1d08ed9fc5ecd9e78e74bce97c37697badc09e1bd47840b0f0721ff991 [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" "468f6d1d08ed9fc5ecd9e78e74bce97c37697badc09e1bd47840b0f0721ff991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "468f6d1d08ed9fc5ecd9e78e74bce97c37697badc09e1bd47840b0f0721ff991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468f6d1d08ed9fc5ecd9e78e74bce97c37697badc09e1bd47840b0f0721ff991", kill_on_drop: false }` [INFO] [stdout] 468f6d1d08ed9fc5ecd9e78e74bce97c37697badc09e1bd47840b0f0721ff991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f15472c65e0ead9fdd5da6132440ffb702eef377e437b9d1b4c6c80ba626f883 [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" "f15472c65e0ead9fdd5da6132440ffb702eef377e437b9d1b4c6c80ba626f883", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking redirect-keyboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let code : u8 = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | 1 => Message::KeyPress(try!(stream.read_u8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let _ = try!(stream.write(&[1u8,code])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let mut stream = try!(TcpStream::connect((&config.outsideip as &str,config.port))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let listener = try!(TcpListener::bind((&config.localip as &str,config.port))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `stdin` [INFO] [stdout] --> src/red_key/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Error, ErrorKind, Result , stdin }; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let code : u8 = try!(stream.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | 1 => Message::KeyPress(try!(stream.read_u8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/red_key/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let _ = try!(stream.write(&[1u8,code])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let mut stream = try!(TcpStream::connect((&config.outsideip as &str,config.port))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let listener = try!(TcpListener::bind((&config.localip as &str,config.port))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `stdin` [INFO] [stdout] --> src/red_key/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Error, ErrorKind, Result , stdin }; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/red_key/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn run_master(stream : &mut TcpStream) -> Result<()>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_message` [INFO] [stdout] --> src/red_key/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn send_message(stream : &mut TcpStream, msg : Message) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/red_key/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn run_master(stream : &mut TcpStream) -> Result<()>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_message` [INFO] [stdout] --> src/red_key/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn send_message(stream : &mut TcpStream, msg : Message) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "f15472c65e0ead9fdd5da6132440ffb702eef377e437b9d1b4c6c80ba626f883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15472c65e0ead9fdd5da6132440ffb702eef377e437b9d1b4c6c80ba626f883", kill_on_drop: false }` [INFO] [stdout] f15472c65e0ead9fdd5da6132440ffb702eef377e437b9d1b4c6c80ba626f883