[INFO] fetching crate dazeus 0.4.0... [INFO] testing dazeus-0.4.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate dazeus 0.4.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate dazeus 0.4.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dazeus 0.4.0 [INFO] finished tweaking crates.io crate dazeus 0.4.0 [INFO] tweaked toml for crates.io crate dazeus 0.4.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a8094bb5baf63e13a33581b9ff4da14448e785c1b65c229572465b5d488fc2e [INFO] running `Command { std: "docker" "start" "-a" "1a8094bb5baf63e13a33581b9ff4da14448e785c1b65c229572465b5d488fc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a8094bb5baf63e13a33581b9ff4da14448e785c1b65c229572465b5d488fc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8094bb5baf63e13a33581b9ff4da14448e785c1b65c229572465b5d488fc2e", kill_on_drop: false }` [INFO] [stdout] 1a8094bb5baf63e13a33581b9ff4da14448e785c1b65c229572465b5d488fc2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b92d49e68791d41ecc469787e2e36219bb6ecd6df57e3ce056a93fcaa148498 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b92d49e68791d41ecc469787e2e36219bb6ecd6df57e3ce056a93fcaa148498", kill_on_drop: false }` [INFO] [stderr] Compiling unix_socket v0.3.2 [INFO] [stderr] Compiling dazeus v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(Connection::Unix(try!(UnixStream::connect(splits[1])))) [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/connection.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Connection::Tcp(try!(TcpStream::connect(splits[1])))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.try_next_event()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | { try!(self.handler.borrow_mut().write(request)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.retrieve_from_socket()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let bytes = try!(self.socket.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let evt = try!(Event::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let resp = try!(Response::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(self.socket.write_all(format!("{}", bytes.len()).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.socket.write_all(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/event.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/request.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 104 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 121 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 31 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | func(event, dazeus as &DaZeusClient); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - func(event, dazeus as &DaZeusClient); [INFO] [stdout] 39 + func(event, dazeus as &dyn DaZeusClient); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut func = fbox.deref_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "2b92d49e68791d41ecc469787e2e36219bb6ecd6df57e3ce056a93fcaa148498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b92d49e68791d41ecc469787e2e36219bb6ecd6df57e3ce056a93fcaa148498", kill_on_drop: false }` [INFO] [stdout] 2b92d49e68791d41ecc469787e2e36219bb6ecd6df57e3ce056a93fcaa148498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7446de88feb34533defe6e479b4e49c573f71f35dbdb44a4d69a608132d3a2a1 [INFO] running `Command { std: "docker" "start" "-a" "7446de88feb34533defe6e479b4e49c573f71f35dbdb44a4d69a608132d3a2a1", kill_on_drop: false }` [INFO] [stderr] Compiling dazeus v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(Connection::Unix(try!(UnixStream::connect(splits[1])))) [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/connection.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Connection::Tcp(try!(TcpStream::connect(splits[1])))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.try_next_event()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | { try!(self.handler.borrow_mut().write(request)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.retrieve_from_socket()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let bytes = try!(self.socket.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let evt = try!(Event::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let resp = try!(Response::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(self.socket.write_all(format!("{}", bytes.len()).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.socket.write_all(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/event.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/request.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 104 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 121 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 31 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | func(event, dazeus as &DaZeusClient); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - func(event, dazeus as &DaZeusClient); [INFO] [stdout] 39 + func(event, dazeus as &dyn DaZeusClient); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut func = fbox.deref_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/connection.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(Connection::Unix(try!(UnixStream::connect(splits[1])))) [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/connection.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Connection::Tcp(try!(TcpStream::connect(splits[1])))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.try_next_event()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | match try!(msg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dazeus.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | { try!(self.handler.borrow_mut().write(request)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.retrieve_from_socket()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let bytes = try!(self.socket.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let json = try!(try!(json_try)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let evt = try!(Event::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let resp = try!(Response::from_json(&json)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(self.socket.write_all(format!("{}", bytes.len()).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.socket.write_all(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/event.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/request.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | callback: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - callback: RefCell>, [INFO] [stdout] 14 + callback: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 104 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dazeus.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 121 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stdout] 31 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/listener.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | func(event, dazeus as &DaZeusClient); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - func(event, dazeus as &DaZeusClient); [INFO] [stdout] 39 + func(event, dazeus as &dyn DaZeusClient); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut func = fbox.deref_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dazeus-1d13be1883f68783) [INFO] running `Command { std: "docker" "inspect" "7446de88feb34533defe6e479b4e49c573f71f35dbdb44a4d69a608132d3a2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7446de88feb34533defe6e479b4e49c573f71f35dbdb44a4d69a608132d3a2a1", kill_on_drop: false }` [INFO] [stdout] 7446de88feb34533defe6e479b4e49c573f71f35dbdb44a4d69a608132d3a2a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eaa1d83e5319c2d5a10223779a7436e98069a6512110588ef7a9ce60baf7bc5a [INFO] running `Command { std: "docker" "start" "-a" "eaa1d83e5319c2d5a10223779a7436e98069a6512110588ef7a9ce60baf7bc5a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/connection.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 38 | Ok(Connection::Unix(try!(UnixStream::connect(splits[1])))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/connection.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | Ok(Connection::Tcp(try!(TcpStream::connect(splits[1])))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/dazeus.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | try!(self.try_next_event()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/dazeus.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | match try!(msg) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/dazeus.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | match try!(msg) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/dazeus.rs:256:11 [INFO] [stderr] | [INFO] [stderr] 256 | { try!(self.handler.borrow_mut().write(request)) }; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | try!(self.retrieve_from_socket()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | let bytes = try!(self.socket.read(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | let json = try!(try!(json_try)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:87:25 [INFO] [stderr] | [INFO] [stderr] 87 | let json = try!(try!(json_try)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:90:23 [INFO] [stderr] | [INFO] [stderr] 90 | let evt = try!(Event::from_json(&json)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:94:24 [INFO] [stderr] | [INFO] [stderr] 94 | let resp = try!(Response::from_json(&json)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | try!(self.socket.write_all(format!("{}", bytes.len()).as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/handler.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | try!(self.socket.write_all(bytes)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/event.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/request.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/listener.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | callback: RefCell>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - callback: RefCell>, [INFO] [stderr] 14 + callback: RefCell>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/listener.rs:14:41 [INFO] [stderr] | [INFO] [stderr] 14 | callback: RefCell>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - callback: RefCell>, [INFO] [stderr] 14 + callback: RefCell>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dazeus.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 104 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] 104 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dazeus.rs:121:32 [INFO] [stderr] | [INFO] [stderr] 121 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 121 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] 121 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/listener.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - where F: FnMut(Event, &DaZeusClient) + 'a [INFO] [stderr] 31 + where F: FnMut(Event, &dyn DaZeusClient) + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/listener.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | func(event, dazeus as &DaZeusClient); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - func(event, dazeus as &DaZeusClient); [INFO] [stderr] 39 + func(event, dazeus as &dyn DaZeusClient); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/event.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/request.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/listener.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut func = fbox.deref_mut(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dazeus` (lib) generated 25 warnings [INFO] [stderr] warning: `dazeus` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dazeus-1d13be1883f68783) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests dazeus [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/request.rs - request::Request::Networks (line 102) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::GetProperty (line 226) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Channels (line 109) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Handshake (line 206) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Config (line 219) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::CtcpReply (line 141) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Join (line 177) ... FAILED [INFO] [stdout] test src/lib.rs - (line 45) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Ctcp (line 134) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Nick (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] test src/event.rs - event::Event::new (line 173) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::HasPermission (line 266) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Names (line 160) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Action (line 150) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Message (line 118) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::SubscribeCommand (line 95) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::UnsetPermission (line 273) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Whois (line 170) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::UnsetProperty (line 240) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Notice (line 127) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::SetProperty (line 233) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::SetPermission (line 256) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::PropertyKeys (line 249) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Part (line 184) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Unsubscribe (line 83) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::Subscribe (line 72) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/request.rs - request::Request::Networks (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Networks [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::GetProperty (line 226) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::GetProperty("example".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:227:45 [INFO] [stdout] | [INFO] [stdout] 3 | Request::GetProperty("example".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Channels (line 109) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Channels("freenode".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Handshake (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Handshake("my_plugin".to_string(), PROTOCOL_VERSION.to_string(), None) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROTOCOL_VERSION` in this scope [INFO] [stdout] --> src/request.rs:207:45 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Handshake("my_plugin".to_string(), PROTOCOL_VERSION.to_string(), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Config (line 219) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Config("highlight".to_string(), ConfigGroup::Core) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConfigGroup` [INFO] [stdout] --> src/request.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Config("highlight".to_string(), ConfigGroup::Core) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ConfigGroup` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::CtcpReply (line 141) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::CtcpReply("example".to_string(), "MrExample".to_string(), "VERSION DaZeus 2.0".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Join (line 177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Join("freenode".to_string(), "#freenode".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DaZeus` [INFO] [stdout] --> src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 5 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::DaZeus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 5 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Ctcp (line 134) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Ctcp("example".to_string(), "MrExample".to_string(), "VERSION".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Nick (line 191) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Nick("freenode".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DaZeus` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 4 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::DaZeus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 4 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `socket` in this scope [INFO] [stdout] --> src/lib.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 4 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventType` [INFO] [stdout] --> src/lib.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 6 | dazeus.subscribe(EventType::PrivMsg, |evt, dazeus| { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DaZeus` [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 5 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::DaZeus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 5 | let dazeus = DaZeus::new(Connection::from_str(socket).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use dazeus::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::Event::new (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> src/event.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 3 | Event::new(EventType::PrivMsg, vec!( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventType` [INFO] [stdout] --> src/event.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 3 | Event::new(EventType::PrivMsg, vec!( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::HasPermission (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::HasPermission("edit".to_string(), false, Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:267:51 [INFO] [stdout] | [INFO] [stdout] 3 | Request::HasPermission("edit".to_string(), false, Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Names (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Names("freenode".to_string(), "#freenode".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Action (line 150) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Action("example".to_string(), "#example", "is creating an example".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Message (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Message("freenode".to_string(), "#botters-test".to_string(), "Hello!".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::SubscribeCommand (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::SubscribeCommand("greet".to_string(), Some("freenode".to_string())) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::UnsetPermission (line 273) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::UnsetPermission("edit".to_string(), Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 3 | Request::UnsetPermission("edit".to_string(), Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Whois (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Whois("example".to_string(), "MrExample".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::UnsetProperty (line 240) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::UnsetProperty("example".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 3 | Request::UnsetProperty("example".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Notice (line 127) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Notice("example".to_string(), "MrExample".to_string(), "Message!".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::SetProperty (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::SetProperty("example".to_string(), "value".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:234:66 [INFO] [stdout] | [INFO] [stdout] 3 | Request::SetProperty("example".to_string(), "value".to_string(), Scope::any()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::SetPermission (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::SetPermission("edit".to_string(), true, Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 3 | Request::SetPermission("edit".to_string(), true, Scope::sender("example", "MrExample")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::PropertyKeys (line 249) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::PropertyKeys("path.to".to_string(), Scope::network("example")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/request.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 3 | Request::PropertyKeys("path.to".to_string(), Scope::network("example")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Part (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Part("freenode".to_string(), "#freenode".to_string()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Unsubscribe (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Unsubscribe(EventType::Join) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventType` [INFO] [stdout] --> src/request.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Unsubscribe(EventType::Join) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::Subscribe (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/request.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Subscribe(EventType::PrivMsg) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventType` [INFO] [stdout] --> src/request.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 3 | Request::Subscribe(EventType::PrivMsg) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/event.rs - event::Event::new (line 173) [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] src/lib.rs - (line 45) [INFO] [stdout] src/request.rs - request::Request::Action (line 150) [INFO] [stdout] src/request.rs - request::Request::Channels (line 109) [INFO] [stdout] src/request.rs - request::Request::Config (line 219) [INFO] [stdout] src/request.rs - request::Request::Ctcp (line 134) [INFO] [stdout] src/request.rs - request::Request::CtcpReply (line 141) [INFO] [stdout] src/request.rs - request::Request::GetProperty (line 226) [INFO] [stdout] src/request.rs - request::Request::Handshake (line 206) [INFO] [stdout] src/request.rs - request::Request::HasPermission (line 266) [INFO] [stdout] src/request.rs - request::Request::Join (line 177) [INFO] [stdout] src/request.rs - request::Request::Message (line 118) [INFO] [stdout] src/request.rs - request::Request::Names (line 160) [INFO] [stdout] src/request.rs - request::Request::Networks (line 102) [INFO] [stdout] src/request.rs - request::Request::Nick (line 191) [INFO] [stdout] src/request.rs - request::Request::Notice (line 127) [INFO] [stdout] src/request.rs - request::Request::Part (line 184) [INFO] [stdout] src/request.rs - request::Request::PropertyKeys (line 249) [INFO] [stdout] src/request.rs - request::Request::SetPermission (line 256) [INFO] [stdout] src/request.rs - request::Request::SetProperty (line 233) [INFO] [stdout] src/request.rs - request::Request::Subscribe (line 72) [INFO] [stdout] src/request.rs - request::Request::SubscribeCommand (line 95) [INFO] [stdout] src/request.rs - request::Request::UnsetPermission (line 273) [INFO] [stdout] src/request.rs - request::Request::UnsetProperty (line 240) [INFO] [stdout] src/request.rs - request::Request::Unsubscribe (line 83) [INFO] [stdout] src/request.rs - request::Request::Whois (line 170) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "eaa1d83e5319c2d5a10223779a7436e98069a6512110588ef7a9ce60baf7bc5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa1d83e5319c2d5a10223779a7436e98069a6512110588ef7a9ce60baf7bc5a", kill_on_drop: false }` [INFO] [stdout] eaa1d83e5319c2d5a10223779a7436e98069a6512110588ef7a9ce60baf7bc5a