[INFO] fetching crate class2json 0.1.0... [INFO] testing class2json-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate class2json 0.1.0 into /workspace/builds/worker-59/source [INFO] validating manifest of crates.io crate class2json 0.1.0 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 class2json 0.1.0 [INFO] finished tweaking crates.io crate class2json 0.1.0 [INFO] tweaked toml for crates.io crate class2json 0.1.0 written to /workspace/builds/worker-59/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8382c30d72087ab6e8a4dadf05a1d7c66726c8dd250290e0633c879845c8632 [INFO] running `Command { std: "docker" "start" "-a" "c8382c30d72087ab6e8a4dadf05a1d7c66726c8dd250290e0633c879845c8632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8382c30d72087ab6e8a4dadf05a1d7c66726c8dd250290e0633c879845c8632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8382c30d72087ab6e8a4dadf05a1d7c66726c8dd250290e0633c879845c8632", kill_on_drop: false }` [INFO] [stdout] c8382c30d72087ab6e8a4dadf05a1d7c66726c8dd250290e0633c879845c8632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fa3d685a238c9f294bf9892bd53c2df7628b76b47d7291e795ba3c8b30c5563 [INFO] running `Command { std: "docker" "start" "-a" "5fa3d685a238c9f294bf9892bd53c2df7628b76b47d7291e795ba3c8b30c5563", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling class2json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn read_classfile(f: &mut Read) -> ClassFile { [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] 39 - fn read_classfile(f: &mut Read) -> ClassFile { [INFO] [stdout] 39 + fn read_classfile(f: &mut dyn Read) -> ClassFile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [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] 64 - fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stdout] 64 + fn read_constant_pool(f: &mut dyn Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [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] 182 - fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [INFO] [stdout] 182 + fn read_fields(f: &mut dyn Read, fields_count: u16) -> Fields { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [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] 203 - fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [INFO] [stdout] 203 + fn read_methods(f: &mut dyn Read, methods_count: u16) -> Methods { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [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] 224 - fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [INFO] [stdout] 224 + fn read_attributes(f: &mut dyn Read, attributes_count: u16) -> Attributes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_u8(f: &mut Read) -> u8 { [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] 4 - pub fn read_u8(f: &mut Read) -> u8 { [INFO] [stdout] 4 + pub fn read_u8(f: &mut dyn Read) -> u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_u16(f: &mut Read) -> u16 { [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 - pub fn read_u16(f: &mut Read) -> u16 { [INFO] [stdout] 11 + pub fn read_u16(f: &mut dyn Read) -> u16 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_u32(f: &mut Read) -> u32 { [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 - pub fn read_u32(f: &mut Read) -> u32 { [INFO] [stdout] 18 + pub fn read_u32(f: &mut dyn Read) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [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] 25 - pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [INFO] [stdout] 25 + pub fn read_vec_u8(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [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 - pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [INFO] [stdout] 32 + pub fn read_vec_u16(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/class_file/constant_pool.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub array: Vec>, [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 - pub array: Vec>, [INFO] [stdout] 15 + pub array: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let mut constant_pool: Vec> = Vec::new(); [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] 65 - let mut constant_pool: Vec> = Vec::new(); [INFO] [stdout] 65 + let mut constant_pool: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let cp_info: Box = match tag { [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 - let cp_info: Box = match tag { [INFO] [stdout] 72 + let cp_info: Box = match tag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.22s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5fa3d685a238c9f294bf9892bd53c2df7628b76b47d7291e795ba3c8b30c5563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa3d685a238c9f294bf9892bd53c2df7628b76b47d7291e795ba3c8b30c5563", kill_on_drop: false }` [INFO] [stdout] 5fa3d685a238c9f294bf9892bd53c2df7628b76b47d7291e795ba3c8b30c5563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a915e9b3e70bffeca800a4126f148fafd4b2806cc9ef6879b61c51c7e70b238 [INFO] running `Command { std: "docker" "start" "-a" "0a915e9b3e70bffeca800a4126f148fafd4b2806cc9ef6879b61c51c7e70b238", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling class2json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn read_classfile(f: &mut Read) -> ClassFile { [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] 39 - fn read_classfile(f: &mut Read) -> ClassFile { [INFO] [stdout] 39 + fn read_classfile(f: &mut dyn Read) -> ClassFile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [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] 64 - fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stdout] 64 + fn read_constant_pool(f: &mut dyn Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [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] 182 - fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [INFO] [stdout] 182 + fn read_fields(f: &mut dyn Read, fields_count: u16) -> Fields { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [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] 203 - fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [INFO] [stdout] 203 + fn read_methods(f: &mut dyn Read, methods_count: u16) -> Methods { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [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] 224 - fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [INFO] [stdout] 224 + fn read_attributes(f: &mut dyn Read, attributes_count: u16) -> Attributes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_u8(f: &mut Read) -> u8 { [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] 4 - pub fn read_u8(f: &mut Read) -> u8 { [INFO] [stdout] 4 + pub fn read_u8(f: &mut dyn Read) -> u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_u16(f: &mut Read) -> u16 { [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 - pub fn read_u16(f: &mut Read) -> u16 { [INFO] [stdout] 11 + pub fn read_u16(f: &mut dyn Read) -> u16 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_u32(f: &mut Read) -> u32 { [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 - pub fn read_u32(f: &mut Read) -> u32 { [INFO] [stdout] 18 + pub fn read_u32(f: &mut dyn Read) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [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] 25 - pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [INFO] [stdout] 25 + pub fn read_vec_u8(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_util.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [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 - pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [INFO] [stdout] 32 + pub fn read_vec_u16(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/class_file/constant_pool.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub array: Vec>, [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 - pub array: Vec>, [INFO] [stdout] 15 + pub array: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let mut constant_pool: Vec> = Vec::new(); [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] 65 - let mut constant_pool: Vec> = Vec::new(); [INFO] [stdout] 65 + let mut constant_pool: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let cp_info: Box = match tag { [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 - let cp_info: Box = match tag { [INFO] [stdout] 72 + let cp_info: Box = match tag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "0a915e9b3e70bffeca800a4126f148fafd4b2806cc9ef6879b61c51c7e70b238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a915e9b3e70bffeca800a4126f148fafd4b2806cc9ef6879b61c51c7e70b238", kill_on_drop: false }` [INFO] [stdout] 0a915e9b3e70bffeca800a4126f148fafd4b2806cc9ef6879b61c51c7e70b238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9c2d655f294b18b2f27fec8cedd9bfb4e6577ce8389b0dff056b3bb0fe5a9ca [INFO] running `Command { std: "docker" "start" "-a" "e9c2d655f294b18b2f27fec8cedd9bfb4e6577ce8389b0dff056b3bb0fe5a9ca", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:39:27 [INFO] [stderr] | [INFO] [stderr] 39 | fn read_classfile(f: &mut Read) -> ClassFile { [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] 39 - fn read_classfile(f: &mut Read) -> ClassFile { [INFO] [stderr] 39 + fn read_classfile(f: &mut dyn Read) -> ClassFile { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:64:31 [INFO] [stderr] | [INFO] [stderr] 64 | fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [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] 64 - fn read_constant_pool(f: &mut Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stderr] 64 + fn read_constant_pool(f: &mut dyn Read, constant_pool_count: u16) -> ConstantPool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [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] 182 - fn read_fields(f: &mut Read, fields_count: u16) -> Fields { [INFO] [stderr] 182 + fn read_fields(f: &mut dyn Read, fields_count: u16) -> Fields { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [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] 203 - fn read_methods(f: &mut Read, methods_count: u16) -> Methods { [INFO] [stderr] 203 + fn read_methods(f: &mut dyn Read, methods_count: u16) -> Methods { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:224:28 [INFO] [stderr] | [INFO] [stderr] 224 | fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [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] 224 - fn read_attributes(f: &mut Read, attributes_count: u16) -> Attributes { [INFO] [stderr] 224 + fn read_attributes(f: &mut dyn Read, attributes_count: u16) -> Attributes { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/read_util.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn read_u8(f: &mut Read) -> u8 { [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] 4 - pub fn read_u8(f: &mut Read) -> u8 { [INFO] [stderr] 4 + pub fn read_u8(f: &mut dyn Read) -> u8 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/read_util.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn read_u16(f: &mut Read) -> u16 { [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 - pub fn read_u16(f: &mut Read) -> u16 { [INFO] [stderr] 11 + pub fn read_u16(f: &mut dyn Read) -> u16 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/read_util.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn read_u32(f: &mut Read) -> u32 { [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 - pub fn read_u32(f: &mut Read) -> u32 { [INFO] [stderr] 18 + pub fn read_u32(f: &mut dyn Read) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/read_util.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [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] 25 - pub fn read_vec_u8(f: &mut Read, length: usize) -> Vec { [INFO] [stderr] 25 + pub fn read_vec_u8(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/read_util.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [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 - pub fn read_vec_u16(f: &mut Read, length: usize) -> Vec { [INFO] [stderr] 32 + pub fn read_vec_u16(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/class_file/constant_pool.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | pub array: Vec>, [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 - pub array: Vec>, [INFO] [stderr] 15 + pub array: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:65:36 [INFO] [stderr] | [INFO] [stderr] 65 | let mut constant_pool: Vec> = Vec::new(); [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] 65 - let mut constant_pool: Vec> = Vec::new(); [INFO] [stderr] 65 + let mut constant_pool: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | let cp_info: Box = match tag { [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 - let cp_info: Box = match tag { [INFO] [stderr] 72 + let cp_info: Box = match tag { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `class2json` (bin "class2json" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/class2json-75b46bf9dd971425) [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" "e9c2d655f294b18b2f27fec8cedd9bfb4e6577ce8389b0dff056b3bb0fe5a9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c2d655f294b18b2f27fec8cedd9bfb4e6577ce8389b0dff056b3bb0fe5a9ca", kill_on_drop: false }` [INFO] [stdout] e9c2d655f294b18b2f27fec8cedd9bfb4e6577ce8389b0dff056b3bb0fe5a9ca