[INFO] fetching crate buf_redux 0.8.4... [INFO] testing buf_redux-0.8.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate buf_redux 0.8.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate buf_redux 0.8.4 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 buf_redux 0.8.4 [INFO] finished tweaking crates.io crate buf_redux 0.8.4 [INFO] tweaked toml for crates.io crate buf_redux 0.8.4 written to /workspace/builds/worker-13/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] [stderr] Blocking waiting for file lock on package cache [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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 441b1a75832271187594f29d4551928934ad3a9c478f5a95bb19c1fe93e3fd50 [INFO] running `Command { std: "docker" "start" "-a" "441b1a75832271187594f29d4551928934ad3a9c478f5a95bb19c1fe93e3fd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441b1a75832271187594f29d4551928934ad3a9c478f5a95bb19c1fe93e3fd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441b1a75832271187594f29d4551928934ad3a9c478f5a95bb19c1fe93e3fd50", kill_on_drop: false }` [INFO] [stdout] 441b1a75832271187594f29d4551928934ad3a9c478f5a95bb19c1fe93e3fd50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e6d988c996abfbc5121196000543c512430dc143553aaf1c332918cf24b79e4 [INFO] running `Command { std: "docker" "start" "-a" "8e6d988c996abfbc5121196000543c512430dc143553aaf1c332918cf24b79e4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling buf_redux v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/policy.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 118 | if buffer.len() >= self.0 { do_read!(false) } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` [INFO] [stdout] = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:868:23 [INFO] [stdout] | [INFO] [stdout] 868 | error::Error::description(self.error()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:42 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:50 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1286:18 [INFO] [stdout] | [INFO] [stdout] 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) [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] 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) [INFO] [stdout] 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: '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] 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:871:32 [INFO] [stdout] | [INFO] [stdout] 871 | fn cause(&self) -> Option<&error::Error> { [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] 871 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 871 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | let inner: Box = Box::new(self.inner); [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] 374 - let inner: Box = Box::new(self.inner); [INFO] [stdout] 374 + let inner: Box = Box::new(self.inner); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1050:17 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut buf = unsafe { self.buf.write_buf() }; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut buf = self.buf.write_buf(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "8e6d988c996abfbc5121196000543c512430dc143553aaf1c332918cf24b79e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6d988c996abfbc5121196000543c512430dc143553aaf1c332918cf24b79e4", kill_on_drop: false }` [INFO] [stdout] 8e6d988c996abfbc5121196000543c512430dc143553aaf1c332918cf24b79e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 746081d4a4b53d284e5f05ea4fd93b651e99cbf0c609d883bfe6551140683bba [INFO] running `Command { std: "docker" "start" "-a" "746081d4a4b53d284e5f05ea4fd93b651e99cbf0c609d883bfe6551140683bba", kill_on_drop: false }` [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/policy.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 118 | if buffer.len() >= self.0 { do_read!(false) } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` [INFO] [stdout] = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:868:23 [INFO] [stdout] | [INFO] [stdout] 868 | error::Error::description(self.error()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:42 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling buf_redux v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:50 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1286:18 [INFO] [stdout] | [INFO] [stdout] 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) [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] 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) [INFO] [stdout] 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: '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] 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:871:32 [INFO] [stdout] | [INFO] [stdout] 871 | fn cause(&self) -> Option<&error::Error> { [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] 871 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 871 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | let inner: Box = Box::new(self.inner); [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] 374 - let inner: Box = Box::new(self.inner); [INFO] [stdout] 374 + let inner: Box = Box::new(self.inner); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1050:17 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut buf = unsafe { self.buf.write_buf() }; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut buf = self.buf.write_buf(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/policy.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 118 | if buffer.len() >= self.0 { do_read!(false) } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` [INFO] [stdout] = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:868:23 [INFO] [stdout] | [INFO] [stdout] 868 | error::Error::description(self.error()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:42 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1273:50 [INFO] [stdout] | [INFO] [stdout] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1286:18 [INFO] [stdout] | [INFO] [stdout] 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) [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] 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) [INFO] [stdout] 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: '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] 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:871:32 [INFO] [stdout] | [INFO] [stdout] 871 | fn cause(&self) -> Option<&error::Error> { [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] 871 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 871 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | let inner: Box = Box::new(self.inner); [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] 374 - let inner: Box = Box::new(self.inner); [INFO] [stdout] 374 + let inner: Box = Box::new(self.inner); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1050:17 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut buf = unsafe { self.buf.write_buf() }; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut buf = self.buf.write_buf(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.04s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/buf_redux-bc305e9fe38e1115) [INFO] running `Command { std: "docker" "inspect" "746081d4a4b53d284e5f05ea4fd93b651e99cbf0c609d883bfe6551140683bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746081d4a4b53d284e5f05ea4fd93b651e99cbf0c609d883bfe6551140683bba", kill_on_drop: false }` [INFO] [stdout] 746081d4a4b53d284e5f05ea4fd93b651e99cbf0c609d883bfe6551140683bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 96cbd9a3440df499e76dcfc3a91fffe7ed87aaba69fe0c9781302fed89f7ced4 [INFO] running `Command { std: "docker" "start" "-a" "96cbd9a3440df499e76dcfc3a91fffe7ed87aaba69fe0c9781302fed89f7ced4", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/policy.rs:25:57 [INFO] [stderr] | [INFO] [stderr] 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 118 | if buffer.len() >= self.0 { do_read!(false) } [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` [INFO] [stderr] = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:868:23 [INFO] [stdout] running 29 tests [INFO] [stderr] | [INFO] [stdout] test policy::test::test_min_buffered ... ok [INFO] [stderr] 868 | error::Error::description(self.error()) [INFO] [stdout] test policy::test::test_flush_on_newline ... ok [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1273:42 [INFO] [stderr] | [INFO] [stderr] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stderr] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1273:50 [INFO] [stderr] | [INFO] [stderr] 1273 | static DROP_ERR_HANDLER: 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] 1273 - static DROP_ERR_HANDLER: RefCell> [INFO] [stderr] 1273 + static DROP_ERR_HANDLER: RefCell> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1286:18 [INFO] [stderr] | [INFO] [stderr] 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) [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] 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) [INFO] [stderr] 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:373:45 [INFO] [stderr] | [INFO] [stderr] 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: '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] 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stderr] 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:871:32 [INFO] [stderr] | [INFO] [stderr] 871 | fn cause(&self) -> Option<&error::Error> { [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] 871 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 871 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:374:24 [INFO] [stderr] | [INFO] [stderr] 374 | let inner: Box = Box::new(self.inner); [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] 374 - let inner: Box = Box::new(self.inner); [INFO] [stderr] 374 + let inner: Box = Box::new(self.inner); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:1050:17 [INFO] [stderr] | [INFO] [stderr] 1050 | let mut buf = unsafe { self.buf.write_buf() }; [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: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:1068:17 [INFO] [stderr] | [INFO] [stderr] 1068 | let mut buf = self.buf.write_buf(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `buf_redux` (lib) generated 10 warnings [INFO] [stderr] warning: `buf_redux` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/buf_redux-bc305e9fe38e1115) [INFO] [stdout] test buffer::std_buf::read_into_full ... ok [INFO] [stdout] test ringbuf_tests::test_read_line ... ok [INFO] [stdout] test std_tests::test_buf_writer_drops_once ... ok [INFO] [stdout] test ringbuf_tests::test_mirror_boundary ... ok [INFO] [stdout] test ringbuf_tests::test_buffer_with_cap ... ok [INFO] [stdout] test ringbuf_tests::test_buffer_new ... ok [INFO] [stdout] test ringbuf_tests::test_read_until ... ok [INFO] [stdout] test std_tests::test_line_buffer ... ok [INFO] [stdout] test std_tests::test_buffered_writer_seek ... ok [INFO] [stdout] test ringbuf_tests::test_short_reads ... ok [INFO] [stdout] test std_tests::test_buffered_reader ... ok [INFO] [stdout] test std_tests::test_lines ... ok [INFO] [stdout] test std_tests::test_read_line ... ok [INFO] [stdout] test std_tests::test_read_until ... ok [INFO] [stdout] test std_tests::test_short_reads ... ok [INFO] [stdout] test ringbuf_tests::test_buffered_reader_seek ... ok [INFO] [stdout] test std_tests::test_buffered_reader_seek_underflow ... ok [INFO] [stdout] test ringbuf_tests::test_buffered_reader_seek_underflow ... ok [INFO] [stdout] test std_tests::test_buffered_writer_inner_flushes ... ok [INFO] [stdout] test std_tests::test_buffered_writer ... ok [INFO] [stdout] test policy::test::test_flush_on ... ok [INFO] [stdout] test policy::test::test_flush_at_least ... ok [INFO] [stdout] test ringbuf_tests::test_buffered_reader ... ok [INFO] [stdout] test ringbuf_tests::test_lines ... ok [INFO] [stdout] test ringbuf_tests::issue_8 ... ok [INFO] [stdout] test policy::test::test_flush_exact ... ok [INFO] [stdout] test std_tests::test_buffered_reader_seek ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests buf_redux [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/policy.rs - policy::MinBuffered (line 78) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96cbd9a3440df499e76dcfc3a91fffe7ed87aaba69fe0c9781302fed89f7ced4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cbd9a3440df499e76dcfc3a91fffe7ed87aaba69fe0c9781302fed89f7ced4", kill_on_drop: false }` [INFO] [stdout] 96cbd9a3440df499e76dcfc3a91fffe7ed87aaba69fe0c9781302fed89f7ced4