[INFO] fetching crate javabc 0.1.2... [INFO] testing javabc-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate javabc 0.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate javabc 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate javabc 0.1.2 [INFO] finished tweaking crates.io crate javabc 0.1.2 [INFO] tweaked toml for crates.io crate javabc 0.1.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded error-chain v0.7.2 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "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] 16fdfeb663e94e82c4764431adc69a6c7bc6142f5556a01c0cf5615f6c7a767c [INFO] running `Command { std: "docker" "start" "-a" "16fdfeb663e94e82c4764431adc69a6c7bc6142f5556a01c0cf5615f6c7a767c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16fdfeb663e94e82c4764431adc69a6c7bc6142f5556a01c0cf5615f6c7a767c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fdfeb663e94e82c4764431adc69a6c7bc6142f5556a01c0cf5615f6c7a767c", kill_on_drop: false }` [INFO] [stdout] 16fdfeb663e94e82c4764431adc69a6c7bc6142f5556a01c0cf5615f6c7a767c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "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] 3765cd6d786f6111e13521e58b22d505b5988abb846dfe35fb244615ae4497bb [INFO] running `Command { std: "docker" "start" "-a" "3765cd6d786f6111e13521e58b22d505b5988abb846dfe35fb244615ae4497bb", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Compiling javabc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn read(read: &mut io::Read) -> Result; [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] 25 - fn read(read: &mut io::Read) -> Result; [INFO] [stdout] 25 + fn read(read: &mut dyn io::Read) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 26 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error>; [INFO] [stdout] 26 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn read(read: &mut io::Read) -> Result { [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 - fn read(read: &mut io::Read) -> Result { [INFO] [stdout] 31 + fn read(read: &mut dyn io::Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 35 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error> { [INFO] [stdout] 35 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn read(read: &mut Read) -> Result { [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] 37 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 37 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn write(&self, _write: &mut Write) -> Result<(), 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] 72 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 72 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), 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] 149 - fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] 149 + fn parse_reference(read: &mut dyn Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn read(read: &mut Read) -> Result { [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] 75 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 75 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | fn write(&self, _write: &mut Write) -> Result<(), 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] 142 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 142 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn read(read: &mut Read) -> Result { [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] 18 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 18 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn write(&self, _write: &mut Write) -> Result<(), 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] 32 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 32 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn read(_read: &mut Read) -> Result { [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] 11 - fn read(_read: &mut Read) -> Result { [INFO] [stdout] 11 + fn read(_read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn write(&self, _write: &mut Write) -> Result<(), 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] 15 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 15 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | fn read(read: &mut Read) -> Result { [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 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 14 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn write(&self, _write: &mut Write) -> Result<(), 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] 19 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 19 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn read(read: &mut Read) -> Result { [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] 16 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 16 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, _write: &mut Write) -> Result<(), 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] 26 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 26 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "3765cd6d786f6111e13521e58b22d505b5988abb846dfe35fb244615ae4497bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3765cd6d786f6111e13521e58b22d505b5988abb846dfe35fb244615ae4497bb", kill_on_drop: false }` [INFO] [stdout] 3765cd6d786f6111e13521e58b22d505b5988abb846dfe35fb244615ae4497bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "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] 3a44567dc46fad26703c0667861f1a8406eb63ad7af66ac5f380206d210e7fee [INFO] running `Command { std: "docker" "start" "-a" "3a44567dc46fad26703c0667861f1a8406eb63ad7af66ac5f380206d210e7fee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn read(read: &mut io::Read) -> Result; [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] 25 - fn read(read: &mut io::Read) -> Result; [INFO] [stdout] 25 + fn read(read: &mut dyn io::Read) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 26 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error>; [INFO] [stdout] 26 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn read(read: &mut io::Read) -> Result { [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 - fn read(read: &mut io::Read) -> Result { [INFO] [stdout] 31 + fn read(read: &mut dyn io::Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 35 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error> { [INFO] [stdout] 35 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn read(read: &mut Read) -> Result { [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] 37 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 37 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn write(&self, _write: &mut Write) -> Result<(), 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] 72 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 72 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), 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] 149 - fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] 149 + fn parse_reference(read: &mut dyn Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn read(read: &mut Read) -> Result { [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] 75 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 75 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | fn write(&self, _write: &mut Write) -> Result<(), 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] 142 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 142 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn read(read: &mut Read) -> Result { [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] 18 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 18 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn write(&self, _write: &mut Write) -> Result<(), 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] 32 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 32 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn read(_read: &mut Read) -> Result { [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] 11 - fn read(_read: &mut Read) -> Result { [INFO] [stdout] 11 + fn read(_read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn write(&self, _write: &mut Write) -> Result<(), 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] 15 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 15 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | fn read(read: &mut Read) -> Result { [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 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 14 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn write(&self, _write: &mut Write) -> Result<(), 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] 19 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 19 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn read(read: &mut Read) -> Result { [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] 16 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 16 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, _write: &mut Write) -> Result<(), 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] 26 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 26 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling javabc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw/flags.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / bitflags! { [INFO] [stdout] 2 | | pub flags AccessFlags: u16 { [INFO] [stdout] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stdout] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn read(read: &mut io::Read) -> Result; [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] 25 - fn read(read: &mut io::Read) -> Result; [INFO] [stdout] 25 + fn read(read: &mut dyn io::Read) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 26 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error>; [INFO] [stdout] 26 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn read(read: &mut io::Read) -> Result { [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 - fn read(read: &mut io::Read) -> Result { [INFO] [stdout] 31 + fn read(read: &mut dyn io::Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/mod.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 35 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error> { [INFO] [stdout] 35 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn read(read: &mut Read) -> Result { [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] 37 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 37 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/class_file.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn write(&self, _write: &mut Write) -> Result<(), 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] 72 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 72 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), 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] 149 - fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] 149 + fn parse_reference(read: &mut dyn Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn read(read: &mut Read) -> Result { [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] 75 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 75 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/constant.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | fn write(&self, _write: &mut Write) -> Result<(), 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] 142 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 142 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn read(read: &mut Read) -> Result { [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] 18 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 18 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/method.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn write(&self, _write: &mut Write) -> Result<(), 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] 32 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 32 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn read(_read: &mut Read) -> Result { [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] 11 - fn read(_read: &mut Read) -> Result { [INFO] [stdout] 11 + fn read(_read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/field.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn write(&self, _write: &mut Write) -> Result<(), 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] 15 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 15 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | fn read(read: &mut Read) -> Result { [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 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 14 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/interface.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn write(&self, _write: &mut Write) -> Result<(), 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] 19 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 19 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn read(read: &mut Read) -> Result { [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] 16 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 16 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/attribute.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&self, _write: &mut Write) -> Result<(), 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] 26 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 26 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn read(read: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn read(read: &mut Read) -> Result { [INFO] [stdout] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw/array.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stdout] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stdout] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Io(::std::io::Error); [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "3a44567dc46fad26703c0667861f1a8406eb63ad7af66ac5f380206d210e7fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a44567dc46fad26703c0667861f1a8406eb63ad7af66ac5f380206d210e7fee", kill_on_drop: false }` [INFO] [stdout] 3a44567dc46fad26703c0667861f1a8406eb63ad7af66ac5f380206d210e7fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c166301a20cab7b517beea9cb1a9e2d16f0f9f4eba003a4e9cf55dc20092bd34 [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" "c166301a20cab7b517beea9cb1a9e2d16f0f9f4eba003a4e9cf55dc20092bd34", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/raw/flags.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / bitflags! { [INFO] [stderr] 2 | | pub flags AccessFlags: u16 { [INFO] [stderr] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stderr] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/raw/flags.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / bitflags! { [INFO] [stderr] 2 | | pub flags AccessFlags: u16 { [INFO] [stderr] 3 | | /// Declared public; may be accessed from outside its package. [INFO] [stderr] 4 | | const ACC_PUBLIC = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (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] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | foreign_links { [INFO] [stderr] 3 | | Io(::std::io::Error); [INFO] [stderr] 4 | | } [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/mod.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | fn read(read: &mut io::Read) -> Result; [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] 25 - fn read(read: &mut io::Read) -> Result; [INFO] [stderr] 25 + fn read(read: &mut dyn io::Read) -> Result; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/mod.rs:26:33 [INFO] [stderr] | [INFO] [stderr] 26 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 26 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error>; [INFO] [stderr] 26 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/mod.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | fn read(read: &mut io::Read) -> Result { [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 - fn read(read: &mut io::Read) -> Result { [INFO] [stderr] 31 + fn read(read: &mut dyn io::Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/mod.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | fn write(&self, write: &mut io::Write) -> Result<(), ::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] 35 - fn write(&self, write: &mut io::Write) -> Result<(), ::Error> { [INFO] [stderr] 35 + fn write(&self, write: &mut dyn io::Write) -> Result<(), ::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/class_file.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | fn read(read: &mut Read) -> Result { [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] 37 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 37 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/class_file.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | fn write(&self, _write: &mut Write) -> Result<(), 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] 72 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 72 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/constant.rs:149:31 [INFO] [stderr] | [INFO] [stderr] 149 | fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), 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] 149 - fn parse_reference(read: &mut Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stderr] 149 + fn parse_reference(read: &mut dyn Read) -> Result<(ConstantIndex, ConstantIndex), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/constant.rs:75:24 [INFO] [stderr] | [INFO] [stderr] 75 | fn read(read: &mut Read) -> Result { [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] 75 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 75 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/constant.rs:142:34 [INFO] [stderr] | [INFO] [stderr] 142 | fn write(&self, _write: &mut Write) -> Result<(), 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] 142 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 142 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/method.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | fn read(read: &mut Read) -> Result { [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] 18 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 18 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/method.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | fn write(&self, _write: &mut Write) -> Result<(), 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] 32 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 32 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/field.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | fn read(_read: &mut Read) -> Result { [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] 11 - fn read(_read: &mut Read) -> Result { [INFO] [stderr] 11 + fn read(_read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/field.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | fn write(&self, _write: &mut Write) -> Result<(), 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] 15 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 15 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/interface.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | fn read(read: &mut Read) -> Result { [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 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 14 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/interface.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | fn write(&self, _write: &mut Write) -> Result<(), 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] 19 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 19 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/attribute.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | fn read(read: &mut Read) -> Result { [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] 16 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 16 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/attribute.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | fn write(&self, _write: &mut Write) -> Result<(), 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] 26 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 26 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn read(read: &mut Read) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:41:42 [INFO] [stderr] | [INFO] [stderr] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | fn read(read: &mut Read) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | impl_for_index_type!(u16, read_u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn read(read: &mut Read) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 30 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:41:42 [INFO] [stderr] | [INFO] [stderr] 41 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 41 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | fn read(read: &mut Read) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn read(read: &mut Read) -> Result { [INFO] [stderr] 49 + fn read(read: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw/array.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | impl_for_index_type!(u32, read_u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_for_index_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 - fn write(&self, _write: &mut Write) -> Result<(), Error> { [INFO] [stderr] 60 + fn write(&self, _write: &mut dyn Write) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain! { [INFO] [stderr] 2 | | foreign_links { [INFO] [stderr] 3 | | Io(::std::io::Error); [INFO] [stderr] 4 | | } [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `javabc` (lib) generated 29 warnings [INFO] [stderr] warning: `javabc` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/javabc-06d3c14af2139a90) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test class_file::ty::test::read_descriptor_for_array_of_objects_is_correct ... ok [INFO] [stdout] test class_file::ty::test::read_descriptor_for_array_of_booleans_is_correct ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dump-8f6d9e5226034c13) [INFO] [stdout] test class_file::ty::test::write_descriptor_for_array_of_booleans_is_correct ... ok [INFO] [stdout] test class_file::method::test::basic_signature_has_correct_descriptor ... ok [INFO] [stdout] test class_file::method::test::can_parse_basic_sig ... ok [INFO] [stdout] test class_file::method::test::can_parse_void_sig ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests javabc [INFO] [stdout] [INFO] [stdout] running 0 tests [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] running `Command { std: "docker" "inspect" "c166301a20cab7b517beea9cb1a9e2d16f0f9f4eba003a4e9cf55dc20092bd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c166301a20cab7b517beea9cb1a9e2d16f0f9f4eba003a4e9cf55dc20092bd34", kill_on_drop: false }` [INFO] [stdout] c166301a20cab7b517beea9cb1a9e2d16f0f9f4eba003a4e9cf55dc20092bd34