[INFO] fetching crate spread 0.0.1... [INFO] checking spread-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate spread 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate spread 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spread 0.0.1 [INFO] finished tweaking crates.io crate spread 0.0.1 [INFO] tweaked toml for crates.io crate spread 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d52e746b61a7d51808d0896b4ff17996fd917db90690e376601509c02bbd7955 [INFO] running `Command { std: "docker" "start" "-a" "d52e746b61a7d51808d0896b4ff17996fd917db90690e376601509c02bbd7955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d52e746b61a7d51808d0896b4ff17996fd917db90690e376601509c02bbd7955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52e746b61a7d51808d0896b4ff17996fd917db90690e376601509c02bbd7955", kill_on_drop: false }` [INFO] [stdout] d52e746b61a7d51808d0896b4ff17996fd917db90690e376601509c02bbd7955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee29312fd9cec77bc36e49398b7d426de32682496a340725dd3acd4284dea3e0 [INFO] running `Command { std: "docker" "start" "-a" "ee29312fd9cec77bc36e49398b7d426de32682496a340725dd3acd4284dea3e0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking spread v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::net::ip::SocketAddr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::net::ip::SocketAddr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::net::tcp::TcpStream; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::net::tcp::TcpStream; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/test.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::net::ip::SocketAddr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::ConnectionFailed`, `std::io::ConnectionRefused`, `std::io::IoError`, `std::io::IoResult`, `std::io::OtherIoError` [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, IoError, IoResult, OtherIoError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ no `OtherIoError` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `IoResult` in `io` [INFO] [stdout] | | | no `IoError` in `io` [INFO] [stdout] | | no `ConnectionRefused` in `io` [INFO] [stdout] | no `ConnectionFailed` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] std::io::ErrorKind::ConnectionRefused [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, Error, IoResult, OtherIoError}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, IoError, Result, OtherIoError}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::ConnectionFailed`, `std::io::ConnectionRefused`, `std::io::IoError`, `std::io::IoResult`, `std::io::OtherIoError` [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, IoError, IoResult, OtherIoError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ no `OtherIoError` in `io` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `IoResult` in `io` [INFO] [stdout] | | | no `IoError` in `io` [INFO] [stdout] | | no `ConnectionRefused` in `io` [INFO] [stdout] | no `ConnectionFailed` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] std::io::ErrorKind::ConnectionRefused [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, Error, IoResult, OtherIoError}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{ConnectionFailed, ConnectionRefused, IoError, Result, OtherIoError}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step_inclusive` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::range_step_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_step_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step_inclusive` [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::range_step_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_step_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[phase(plugin, link)] extern crate log; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | debug!("Sending connect message to {}", addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | debug!("Sending connect message to {}", addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | debug!("Received authentication method choice(s): {}", authname); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | debug!("Received authentication method choice(s): {}", authname); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | debug!("Sending authentication method choice of {}", DEFAULT_AUTH_NAME); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | debug!("Received session acceptance message from daemon"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | debug!("Sending authentication method choice of {}", DEFAULT_AUTH_NAME); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | debug!("Received private name assignment from daemon: {}", private_group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | debug!("Received session acceptance message from daemon"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | debug!("Client connected to daemon at {}", addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | debug!("Disconnecting from daemon at {}", try!(self.stream.peer_name())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | debug!("Received private name assignment from daemon: {}", private_group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | debug!("Client \"{}\" joining group \"{}\"", self.private_name, group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | debug!("Client \"{}\" leaving group \"{}\"", self.private_name, group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | debug!("Client connected to daemon at {}", addr); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | debug!("Client \"{}\" multicasting {} bytes to group(s) {}", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | debug!("Disconnecting from daemon at {}", try!(self.stream.peer_name())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | debug!("Received {} bytes from \"{}\" sent to group(s) {}", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | debug!("Client \"{}\" joining group \"{}\"", self.private_name, group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | debug!("Client \"{}\" leaving group \"{}\"", self.private_name, group_name); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | debug!("Client \"{}\" multicasting {} bytes to group(s) {}", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | debug!("Received {} bytes from \"{}\" sent to group(s) {}", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | static MAX_PRIVATE_NAME_LENGTH: uint = 10; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | static MAX_AUTH_NAME_LENGTH: uint = 30; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | static MAX_AUTH_METHOD_COUNT: uint = 3; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | static MAX_GROUP_NAME_LENGTH: uint = 32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:165:63 [INFO] [stdout] | [INFO] [stdout] 165 | let authname_vec = try!(stream.read_exact(authname_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | let group_name_buf = try!(stream.read_exact(group_name_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:423:79 [INFO] [stdout] | [INFO] [stdout] 423 | try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH * num_groups as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 426 | for n in range(0, num_groups) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | let i: uint = n as uint * MAX_GROUP_NAME_LENGTH; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | let i: uint = n as uint * MAX_GROUP_NAME_LENGTH; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:440:64 [INFO] [stdout] | [INFO] [stdout] 440 | let data_vec = try!(self.stream.read_exact(data_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ((i0 << 24) | (i1 << 16) | (i2 << 8) | (i3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - ((i0 << 24) | (i1 << 16) | (i2 << 8) | (i3)) [INFO] [stdout] 23 + (i0 << 24) | (i1 << 16) | (i2 << 8) | (i3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | let private_name_buf = try!(ISO_8859_1.encode(private_name, EncoderTrap::Strict).map_err( [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/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | try!(stream.write(connect_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | try!(stream.write(authname_vec.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let connect_message = try!(encode_connect_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | let authname_len = try!(stream.read_byte()) as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | let authname_vec = try!(stream.read_exact(authname_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let authname = try!(ISO_8859_1.decode( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] 185 + for _ in range(authname_len as uint, MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let accepted: u8 = try!(stream.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | (try!(stream.read_byte()) as i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | try!(stream.read_byte()) as i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | try!(stream.read_byte()) as i32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | let group_name_len = try!(stream.read_byte()) as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let group_name_buf = try!(stream.read_exact(group_name_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | let private_name_buf = try!(ISO_8859_1.encode(private_name, EncoderTrap::Strict).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:277:44 [INFO] [stdout] | [INFO] [stdout] 277 | for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] 277 + for _ in range(private_name.len(), MAX_GROUP_NAME_LENGTH) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | let group_buf = try!(ISO_8859_1.encode(*group, EncoderTrap::Strict).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:292:41 [INFO] [stdout] | [INFO] [stdout] 292 | for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] 292 + for _ in range(group.len(), MAX_GROUP_NAME_LENGTH) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | let kill_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(self.stream.write(join_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | let join_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | try!(self.stream.write(leave_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | let leave_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | let message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | let header_vec = try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH + 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | static MAX_PRIVATE_NAME_LENGTH: uint = 10; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | let sender = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH * num_groups as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | static MAX_AUTH_NAME_LENGTH: uint = 30; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | let group = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:440:24 [INFO] [stdout] | [INFO] [stdout] 440 | let data_vec = try!(self.stream.read_exact(data_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | static MAX_AUTH_METHOD_COUNT: uint = 3; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | static MAX_GROUP_NAME_LENGTH: uint = 32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/util.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | for p in range_step_inclusive(0u, 24, 8) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:165:63 [INFO] [stdout] | [INFO] [stdout] 165 | let authname_vec = try!(stream.read_exact(authname_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | let group_name_buf = try!(stream.read_exact(group_name_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:423:79 [INFO] [stdout] | [INFO] [stdout] 423 | try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH * num_groups as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 426 | for n in range(0, num_groups) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | let i: uint = n as uint * MAX_GROUP_NAME_LENGTH; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | let i: uint = n as uint * MAX_GROUP_NAME_LENGTH; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:440:64 [INFO] [stdout] | [INFO] [stdout] 440 | let data_vec = try!(self.stream.read_exact(data_len as uint)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ((i0 << 24) | (i1 << 16) | (i2 << 8) | (i3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - ((i0 << 24) | (i1 << 16) | (i2 << 8) | (i3)) [INFO] [stdout] 23 + (i0 << 24) | (i1 << 16) | (i2 << 8) | (i3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | let private_name_buf = try!(ISO_8859_1.encode(private_name, EncoderTrap::Strict).map_err( [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/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | try!(stream.write(connect_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | try!(stream.write(authname_vec.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let connect_message = try!(encode_connect_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let mut stream = try!(TcpStream::connect(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | let authname_len = try!(stream.read_byte()) as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | let authname_vec = try!(stream.read_exact(authname_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let authname = try!(ISO_8859_1.decode( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - for _ in range(authname_len as uint, (MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1)) { [INFO] [stdout] 185 + for _ in range(authname_len as uint, MAX_AUTH_NAME_LENGTH * MAX_AUTH_METHOD_COUNT + 1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let accepted: u8 = try!(stream.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | (try!(stream.read_byte()) as i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | try!(stream.read_byte()) as i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | try!(stream.read_byte()) as i32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | let group_name_len = try!(stream.read_byte()) as i32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let group_name_buf = try!(stream.read_exact(group_name_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | let private_name_buf = try!(ISO_8859_1.encode(private_name, EncoderTrap::Strict).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:277:44 [INFO] [stdout] | [INFO] [stdout] 277 | for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 277 - for _ in range(private_name.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] 277 + for _ in range(private_name.len(), MAX_GROUP_NAME_LENGTH) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | let group_buf = try!(ISO_8859_1.encode(*group, EncoderTrap::Strict).map_err( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:292:41 [INFO] [stdout] | [INFO] [stdout] 292 | for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - for _ in range(group.len(), (MAX_GROUP_NAME_LENGTH)) { [INFO] [stdout] 292 + for _ in range(group.len(), MAX_GROUP_NAME_LENGTH) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | let kill_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(self.stream.write(join_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | let join_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | try!(self.stream.write(leave_message.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | let leave_message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | let message = try!(SpreadClient::encode_message( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | let header_vec = try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH + 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | let sender = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | try!(self.stream.read_exact(MAX_GROUP_NAME_LENGTH * num_groups as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | let group = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:440:24 [INFO] [stdout] | [INFO] [stdout] 440 | let data_vec = try!(self.stream.read_exact(data_len as uint)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/util.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | for p in range_step_inclusive(0u, 24, 8) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpreadError: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | impl Copy for SpreadError {} [INFO] [stdout] | ^^^^^^^^^^^ the trait `Clone` is not implemented for `SpreadError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `SpreadError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub enum SpreadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SpreadError: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | impl Copy for SpreadError {} [INFO] [stdout] | ^^^^^^^^^^^ the trait `Clone` is not implemented for `SpreadError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] help: consider annotating `SpreadError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Clone)] [INFO] [stdout] 44 | pub enum SpreadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | vec.push(private_name.char_len() as u8); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/test.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | from_str::("127.0.0.1:4803").expect("malformed address"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | vec.push_all(private_name_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 | vec.push(private_name_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/test.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | let msg = ISO_8859_1.encode("hello".as_slice(), EncoderTrap::Strict) [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | too_long if too_long.char_len() > MAX_PRIVATE_NAME_LENGTH => [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | too_long.slice_to(MAX_PRIVATE_NAME_LENGTH), [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/test.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(client.join("foo".as_slice()).is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/test.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(client.leave("foo".as_slice()).is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/test.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | from_str::("127.0.0.1:4803").expect("malformed address"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/test.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(client.join("foo".as_slice()).is_ok()); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | vec.push(private_name.char_len() as u8); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | vec.push_all(int_to_bytes(service_type).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 271 | vec.push(int_to_bytes(service_type).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | vec.push_all(private_name_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 276 | vec.push(private_name_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | vec.push_all(private_name_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 | vec.push(private_name_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | vec.push_all(int_to_bytes(groups.len() as u32).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 281 | vec.push(int_to_bytes(groups.len() as u32).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | too_long if too_long.char_len() > MAX_PRIVATE_NAME_LENGTH => [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | too_long.slice_to(MAX_PRIVATE_NAME_LENGTH), [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | vec.push_all(int_to_bytes(0).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 282 | vec.push(int_to_bytes(0).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | vec.push_all(int_to_bytes(data.len() as u32).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 283 | vec.push(int_to_bytes(data.len() as u32).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | vec.push_all(group_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 291 | vec.push(group_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | vec.push_all(data); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 297 | vec.push(data); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:304:44 [INFO] [stdout] | [INFO] [stdout] 304 | let name_slice = self.private_name.as_slice(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | vec.push_all(int_to_bytes(service_type).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 271 | vec.push(int_to_bytes(service_type).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | vec.push_all(private_name_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 276 | vec.push(private_name_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | vec.push_all(int_to_bytes(groups.len() as u32).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 281 | vec.push(int_to_bytes(groups.len() as u32).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | vec.push_all(int_to_bytes(0).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 282 | vec.push(int_to_bytes(0).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:369:31 [INFO] [stdout] | [INFO] [stdout] 369 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | vec.push_all(int_to_bytes(data.len() as u32).as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 283 | vec.push(int_to_bytes(data.len() as u32).as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:407:38 [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | vec.push_all(group_buf.as_slice()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 291 | vec.push(group_buf.as_slice()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:407:53 [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | vec.push_all(data); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 297 | vec.push(data); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:433:46 [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:304:44 [INFO] [stdout] | [INFO] [stdout] 304 | let name_slice = self.private_name.as_slice(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:433:61 [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spread` (lib) due to 58 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:369:31 [INFO] [stdout] | [INFO] [stdout] 369 | self.private_name.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:407:38 [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:407:53 [INFO] [stdout] | [INFO] [stdout] 407 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:433:46 [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from(error.as_slice())) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for enum `Cow<'_, str>` in the current scope [INFO] [stdout] --> src/lib.rs:433:61 [INFO] [stdout] | [INFO] [stdout] 433 | detail: Some(String::from_str(error.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spread` (lib test) due to 65 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee29312fd9cec77bc36e49398b7d426de32682496a340725dd3acd4284dea3e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee29312fd9cec77bc36e49398b7d426de32682496a340725dd3acd4284dea3e0", kill_on_drop: false }` [INFO] [stdout] ee29312fd9cec77bc36e49398b7d426de32682496a340725dd3acd4284dea3e0