[INFO] fetching crate spread 0.0.1... [INFO] checking spread-0.0.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate spread 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate spread 0.0.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd40542a078ed4af0d4a2fd3b13586f9b0c9bcf272d1916623a2d3a0c0b65cb7 [INFO] running `Command { std: "docker" "start" "-a" "cd40542a078ed4af0d4a2fd3b13586f9b0c9bcf272d1916623a2d3a0c0b65cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd40542a078ed4af0d4a2fd3b13586f9b0c9bcf272d1916623a2d3a0c0b65cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd40542a078ed4af0d4a2fd3b13586f9b0c9bcf272d1916623a2d3a0c0b65cb7", kill_on_drop: false }` [INFO] [stdout] cd40542a078ed4af0d4a2fd3b13586f9b0c9bcf272d1916623a2d3a0c0b65cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 356bfa297269996059a13b004facda73858dc13de20f0cc86d801e48641f2c84 [INFO] running `Command { std: "docker" "start" "-a" "356bfa297269996059a13b004facda73858dc13de20f0cc86d801e48641f2c84", 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-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean 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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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] 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: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[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[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: 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/marker.rs:416: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[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 `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 `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 `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 `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: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[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 `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 `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 `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 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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 `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 `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: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 `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 `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 `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: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 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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: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 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: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 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: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 `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: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 `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: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: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 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: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 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: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: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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 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: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 `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 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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[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] 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: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/string.rs:446: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] [stderr] error: could not compile `spread` (lib) due to 57 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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 64 previous errors [INFO] running `Command { std: "docker" "inspect" "356bfa297269996059a13b004facda73858dc13de20f0cc86d801e48641f2c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356bfa297269996059a13b004facda73858dc13de20f0cc86d801e48641f2c84", kill_on_drop: false }` [INFO] [stdout] 356bfa297269996059a13b004facda73858dc13de20f0cc86d801e48641f2c84