[INFO] cloning repository https://github.com/mythmon/rearguard [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Frearguard'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7fde477fcbc072af8d710874018045a6a1793903 [INFO] checking mythmon/rearguard against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Frearguard" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mythmon/rearguard on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/mythmon/rearguard already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4155b0590d54ffcb02a9bf6c2b788236c68e8d2c78ab2eb5c8a42a784f7ca2e [INFO] running `"docker" "start" "-a" "e4155b0590d54ffcb02a9bf6c2b788236c68e8d2c78ab2eb5c8a42a784f7ca2e"` [INFO] [stderr] Checking rearguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find macro `select` in this scope [INFO] [stderr] --> src/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | select! ( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `select` in this scope [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | select! ( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | let client_addr = try!(stream.peer_addr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:75:33 [INFO] [stderr] | [INFO] [stderr] 75 | let reader = BufReader::new(try!(stream.try_clone())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `select` in this scope [INFO] [stderr] --> src/main.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | select! ( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `select` in this scope [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | select! ( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | let client_addr = try!(stream.peer_addr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:75:33 [INFO] [stderr] | [INFO] [stderr] 75 | let reader = BufReader::new(try!(stream.try_clone())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 88 | / loop { [INFO] [stderr] 89 | | select! ( [INFO] [stderr] 90 | | user_msg = messages_rx.recv() => { [INFO] [stderr] 91 | | let user_msg = user_msg.unwrap_or_else(|e| { panic!(e) }); [INFO] [stderr] ... | [INFO] [stderr] 124 | | ); [INFO] [stderr] 125 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 126 | [INFO] [stderr] 127 | println!("{}: disconnected.", client_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/message.rs:63:34 [INFO] [stderr] | [INFO] [stderr] 63 | let words: Vec<&str> = s.trim_right_matches("\r").split(" ").collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 88 | / loop { [INFO] [stderr] 89 | | select! ( [INFO] [stderr] 90 | | user_msg = messages_rx.recv() => { [INFO] [stderr] 91 | | let user_msg = user_msg.unwrap_or_else(|e| { panic!(e) }); [INFO] [stderr] ... | [INFO] [stderr] 124 | | ); [INFO] [stderr] 125 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 126 | [INFO] [stderr] 127 | println!("{}: disconnected.", client_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/message.rs:63:34 [INFO] [stderr] | [INFO] [stderr] 63 | let words: Vec<&str> = s.trim_right_matches("\r").split(" ").collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:66:34 [INFO] [stderr] | [INFO] [stderr] 66 | let prefix = if words[i].slice_chars(0, 1) == ":" { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | Some(words[i - 1].slice_chars(1, words[i - 1].len()).to_string()) [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | if words[i].slice_chars(0, 1) == ":" { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:81:48 [INFO] [stderr] | [INFO] [stderr] 81 | let mut trail_parts = words[i].slice_chars(1, words[i].len()).to_string(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [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] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:66:34 [INFO] [stderr] | [INFO] [stderr] 66 | let prefix = if words[i].slice_chars(0, 1) == ":" { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | Some(words[i - 1].slice_chars(1, words[i - 1].len()).to_string()) [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | if words[i].slice_chars(0, 1) == ":" { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for reference `&str` in the current scope [INFO] [stderr] --> src/message.rs:81:48 [INFO] [stderr] | [INFO] [stderr] 81 | let mut trail_parts = words[i].slice_chars(1, words[i].len()).to_string(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `rearguard`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e4155b0590d54ffcb02a9bf6c2b788236c68e8d2c78ab2eb5c8a42a784f7ca2e"` [INFO] running `"docker" "rm" "-f" "e4155b0590d54ffcb02a9bf6c2b788236c68e8d2c78ab2eb5c8a42a784f7ca2e"` [INFO] [stdout] e4155b0590d54ffcb02a9bf6c2b788236c68e8d2c78ab2eb5c8a42a784f7ca2e