[INFO] cloning repository https://github.com/potatob6/RemoteControllerRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/potatob6/RemoteControllerRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRemoteControllerRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRemoteControllerRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc03db8fcc5aea4c71d9bb4e0ae900986ebde395 [INFO] checking potatob6/RemoteControllerRust against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRemoteControllerRust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/potatob6/RemoteControllerRust on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/potatob6/RemoteControllerRust [INFO] finished tweaking git repo https://github.com/potatob6/RemoteControllerRust [INFO] tweaked toml for git repo https://github.com/potatob6/RemoteControllerRust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/potatob6/RemoteControllerRust 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking potatob6/RemoteControllerRust against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotatob6%2FRemoteControllerRust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/potatob6/RemoteControllerRust on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/potatob6/RemoteControllerRust [INFO] finished tweaking git repo https://github.com/potatob6/RemoteControllerRust [INFO] tweaked toml for git repo https://github.com/potatob6/RemoteControllerRust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/potatob6/RemoteControllerRust 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4611c248af780ff011d0cf01fcb2e2898a1dc1deceb73c55325873ad83977300 [INFO] running `Command { std: "docker" "start" "-a" "4611c248af780ff011d0cf01fcb2e2898a1dc1deceb73c55325873ad83977300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4611c248af780ff011d0cf01fcb2e2898a1dc1deceb73c55325873ad83977300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4611c248af780ff011d0cf01fcb2e2898a1dc1deceb73c55325873ad83977300", kill_on_drop: false }` [INFO] [stdout] 4611c248af780ff011d0cf01fcb2e2898a1dc1deceb73c55325873ad83977300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 313d85a1d853fca627930ae91dfcf8d6d3ae0d7c5f8b1b6aa001a63ec93cd487 [INFO] running `Command { std: "docker" "start" "-a" "313d85a1d853fca627930ae91dfcf8d6d3ae0d7c5f8b1b6aa001a63ec93cd487", kill_on_drop: false }` [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RecvError`, `TryRecvError` [INFO] [stdout] --> src/cmd_handler.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::{mpsc::{self, RecvError, TryRecvError}, RwLock, Arc}, thread, io::{Write, BufReader, BufRead}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `cell::RefCell`, `error::Error` [INFO] [stdout] --> src/network_connector.rs:1:201 [INFO] [stdout] | [INFO] [stdout] 1 | ...on, io::{BufReader, BufRead, ErrorKind, Write, BufWriter}, error::Error, cell::RefCell}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvError`, `TryRecvError` [INFO] [stdout] --> src/cmd_handler.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::{mpsc::{self, RecvError, TryRecvError}, RwLock, Arc}, thread, io::{Write, BufReader, BufRead}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `cell::RefCell`, `error::Error` [INFO] [stdout] --> src/network_connector.rs:1:201 [INFO] [stdout] | [INFO] [stdout] 1 | ...on, io::{BufReader, BufRead, ErrorKind, Write, BufWriter}, error::Error, cell::RefCell}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `collections::HashMap`, `error::Error` [INFO] [stdout] --> src/test.rs:3:100 [INFO] [stdout] | [INFO] [stdout] 3 | ...{Write, Read, BufReader, BufRead, ErrorKind}, thread, collections::HashMap, sync::mpsc, error::Error}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cmd_handler.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | RequestString::Terminate(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cmd_handler.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cmd_handler.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> src/test.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let k = thread::spawn(move || { [INFO] [stdout] | _____________^___- [INFO] [stdout] 47 | | thread::sleep(Duration::from_millis(1000)); [INFO] [stdout] 48 | | loop { [INFO] [stdout] 49 | | let recv = r.recv_timeout(Duration::from_secs(1)); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }); [INFO] [stdout] | |__________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn` [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/thread/mod.rs:672:1 [INFO] [stdout] help: consider giving `k` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 46 | let k: JoinHandle = thread::spawn(move || { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut result: Result = Ok(0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/network_connector.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | Err(o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ... result = Err(3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... result = Err(4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | ... result = Err(7); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/network_connector.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | ... let data = HttpLikeData::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | ... result = Err(7); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/network_connector.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | ... ResponseString::Terminate(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/cmd_handler.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | RequestString::Terminate(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cmd_handler.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cmd_handler.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut result: Result = Ok(0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/network_connector.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | Err(o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ... result = Err(3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... result = Err(4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | ... result = Err(7); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/network_connector.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | ... let data = HttpLikeData::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/network_connector.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | ... result = Err(7); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/network_connector.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | ... ResponseString::Terminate(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/test.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let result = network.join(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/test.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let cmd = "Action:new\nSeq:2\nFile Name:\"E%3a%5cshare_lock%5cshare\"\n\n27184yh291j4291n%5c%25".as_bytes(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/test.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let m = String::from_utf8_lossy(&command_parser::escape_decode(buf)).to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/test.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/test.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world` (bin "hello_world" test) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "313d85a1d853fca627930ae91dfcf8d6d3ae0d7c5f8b1b6aa001a63ec93cd487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313d85a1d853fca627930ae91dfcf8d6d3ae0d7c5f8b1b6aa001a63ec93cd487", kill_on_drop: false }` [INFO] [stdout] 313d85a1d853fca627930ae91dfcf8d6d3ae0d7c5f8b1b6aa001a63ec93cd487