[INFO] cloning repository https://github.com/mythmon/rearguard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mythmon/rearguard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Frearguard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Frearguard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fde477fcbc072af8d710874018045a6a1793903 [INFO] checking mythmon/rearguard against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Frearguard" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mythmon/rearguard 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/mythmon/rearguard [INFO] finished tweaking git repo https://github.com/mythmon/rearguard [INFO] tweaked toml for git repo https://github.com/mythmon/rearguard written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mythmon/rearguard 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 0c9676a908ff5bf6263973c4c7cefda2d11a17f2ccaee28c3f437d16b88ae058 [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" "0c9676a908ff5bf6263973c4c7cefda2d11a17f2ccaee28c3f437d16b88ae058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c9676a908ff5bf6263973c4c7cefda2d11a17f2ccaee28c3f437d16b88ae058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9676a908ff5bf6263973c4c7cefda2d11a17f2ccaee28c3f437d16b88ae058", kill_on_drop: false }` [INFO] [stdout] 0c9676a908ff5bf6263973c4c7cefda2d11a17f2ccaee28c3f437d16b88ae058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 9a05957780bb93b890eed76fa0ddf5ce259c0a052a8d7af217336af5561a8158 [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" "9a05957780bb93b890eed76fa0ddf5ce259c0a052a8d7af217336af5561a8158", kill_on_drop: false }` [INFO] [stderr] Checking rearguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | select! ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | select! ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_addr = try!(stream.peer_addr()); [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/main.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let reader = BufReader::new(try!(stream.try_clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | select! ( [INFO] [stdout] 90 | | user_msg = messages_rx.recv() => { [INFO] [stdout] 91 | | let user_msg = user_msg.unwrap_or_else(|e| { panic!(e) }); [INFO] [stdout] ... | [INFO] [stdout] 124 | | ); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 126 | [INFO] [stdout] 127 | println!("{}: disconnected.", client_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | select! ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | select! ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/message.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | let words: Vec<&str> = s.trim_right_matches("\r").split(" ").collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_addr = try!(stream.peer_addr()); [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/main.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let reader = BufReader::new(try!(stream.try_clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let prefix = if words[i].slice_chars(0, 1) == ":" { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | Some(words[i - 1].slice_chars(1, words[i - 1].len()).to_string()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | if words[i].slice_chars(0, 1) == ":" { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | let mut trail_parts = words[i].slice_chars(1, words[i].len()).to_string(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 88 | / loop { [INFO] [stdout] 89 | | select! ( [INFO] [stdout] 90 | | user_msg = messages_rx.recv() => { [INFO] [stdout] 91 | | let user_msg = user_msg.unwrap_or_else(|e| { panic!(e) }); [INFO] [stdout] ... | [INFO] [stdout] 124 | | ); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 126 | [INFO] [stdout] 127 | println!("{}: disconnected.", client_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rearguard` [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] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/message.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | let words: Vec<&str> = s.trim_right_matches("\r").split(" ").collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let prefix = if words[i].slice_chars(0, 1) == ":" { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | Some(words[i - 1].slice_chars(1, words[i - 1].len()).to_string()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | if words[i].slice_chars(0, 1) == ":" { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/message.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | let mut trail_parts = words[i].slice_chars(1, words[i].len()).to_string(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9a05957780bb93b890eed76fa0ddf5ce259c0a052a8d7af217336af5561a8158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a05957780bb93b890eed76fa0ddf5ce259c0a052a8d7af217336af5561a8158", kill_on_drop: false }` [INFO] [stdout] 9a05957780bb93b890eed76fa0ddf5ce259c0a052a8d7af217336af5561a8158