[INFO] fetching crate javabc 0.1.2... [INFO] testing javabc-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate javabc 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate javabc 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] fac7f07fb84a4b374dec327a9bd43206c8583de6461b4f56093596406b6a81dc [INFO] running `Command { std: "docker" "start" "-a" "fac7f07fb84a4b374dec327a9bd43206c8583de6461b4f56093596406b6a81dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac7f07fb84a4b374dec327a9bd43206c8583de6461b4f56093596406b6a81dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac7f07fb84a4b374dec327a9bd43206c8583de6461b4f56093596406b6a81dc", kill_on_drop: false }` [INFO] [stdout] fac7f07fb84a4b374dec327a9bd43206c8583de6461b4f56093596406b6a81dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c99b72035325a6d9ef3bbfd809ef318d56c56f737de555c727600db85cc36da [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" "8c99b72035325a6d9ef3bbfd809ef318d56c56f737de555c727600db85cc36da", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Compiling javabc v0.1.2 (/opt/rustwide/workdir) [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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: `#[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: 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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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: 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 12.81s [INFO] running `Command { std: "docker" "inspect" "8c99b72035325a6d9ef3bbfd809ef318d56c56f737de555c727600db85cc36da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c99b72035325a6d9ef3bbfd809ef318d56c56f737de555c727600db85cc36da", kill_on_drop: false }` [INFO] [stdout] 8c99b72035325a6d9ef3bbfd809ef318d56c56f737de555c727600db85cc36da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582e18ad3c9c38e3007cb858fc8ff4d3bbe2c745e70522d73585decd179878ba [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" "582e18ad3c9c38e3007cb858fc8ff4d3bbe2c745e70522d73585decd179878ba", kill_on_drop: false }` [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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: `#[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: 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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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: 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] [stderr] Compiling javabc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: 29 warnings emitted [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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: `#[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: 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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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: 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.26s [INFO] running `Command { std: "docker" "inspect" "582e18ad3c9c38e3007cb858fc8ff4d3bbe2c745e70522d73585decd179878ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582e18ad3c9c38e3007cb858fc8ff4d3bbe2c745e70522d73585decd179878ba", kill_on_drop: false }` [INFO] [stdout] 582e18ad3c9c38e3007cb858fc8ff4d3bbe2c745e70522d73585decd179878ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ffaee1365aafe3d0fa68a3e37cb50a507d5177d2de7473718f6950df9266d77 [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" "8ffaee1365aafe3d0fa68a3e37cb50a507d5177d2de7473718f6950df9266d77", kill_on_drop: false }` [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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: 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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^ help: use `dyn`: `dyn Read` [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] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [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: 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.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/javabc-986c3e27828dbd47) [INFO] [stdout] running 6 tests [INFO] [stdout] test class_file::method::test::basic_signature_has_correct_descriptor ... ok [INFO] [stdout] test class_file::method::test::can_parse_void_sig ... ok [INFO] [stdout] test class_file::ty::test::read_descriptor_for_array_of_objects_is_correct ... ok [INFO] [stdout] test class_file::ty::test::write_descriptor_for_array_of_booleans_is_correct ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dump-ccec336afb5483a6) [INFO] [stdout] test class_file::ty::test::read_descriptor_for_array_of_booleans_is_correct ... ok [INFO] [stderr] Doc-tests javabc [INFO] [stdout] test class_file::method::test::can_parse_basic_sig ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] [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" "8ffaee1365aafe3d0fa68a3e37cb50a507d5177d2de7473718f6950df9266d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffaee1365aafe3d0fa68a3e37cb50a507d5177d2de7473718f6950df9266d77", kill_on_drop: false }` [INFO] [stdout] 8ffaee1365aafe3d0fa68a3e37cb50a507d5177d2de7473718f6950df9266d77