[INFO] cloning repository https://github.com/MatevzFa/class2json [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatevzFa/class2json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatevzFa%2Fclass2json", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatevzFa%2Fclass2json'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d117af2ea0837f499261d72093dfc4bdcfdd4bfd [INFO] checking MatevzFa/class2json/d117af2ea0837f499261d72093dfc4bdcfdd4bfd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatevzFa%2Fclass2json" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatevzFa/class2json on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatevzFa/class2json [INFO] finished tweaking git repo https://github.com/MatevzFa/class2json [INFO] tweaked toml for git repo https://github.com/MatevzFa/class2json written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MatevzFa/class2json already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded serde_json v1.0.39 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] [stderr] Downloaded erased-serde v0.3.9 [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded syn v0.15.27 [INFO] [stderr] Downloaded clap v2.31.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 631bd8b6ff9ff9c1fa95d6a85ca5d00586b146c7aacc35b831b3f7ff4451fd18 [INFO] running `Command { std: "docker" "start" "-a" "631bd8b6ff9ff9c1fa95d6a85ca5d00586b146c7aacc35b831b3f7ff4451fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "631bd8b6ff9ff9c1fa95d6a85ca5d00586b146c7aacc35b831b3f7ff4451fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631bd8b6ff9ff9c1fa95d6a85ca5d00586b146c7aacc35b831b3f7ff4451fd18", kill_on_drop: false }` [INFO] [stdout] 631bd8b6ff9ff9c1fa95d6a85ca5d00586b146c7aacc35b831b3f7ff4451fd18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5d0dd8ce6a2e933380e385f4e951f4d516b09982c774d248beca03dea243532 [INFO] running `Command { std: "docker" "start" "-a" "e5d0dd8ce6a2e933380e385f4e951f4d516b09982c774d248beca03dea243532", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking class2json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `instruction` [INFO] [stdout] --> src/bytecode/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn read_classfile(f: &mut Read) -> ClassFile { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub array: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `instruction` [INFO] [stdout] --> src/bytecode/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | 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:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 | 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:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 | 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:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/main.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn read_classfile(f: &mut Read) -> ClassFile { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:31 [INFO] [stdout] | [INFO] [stdout] 65 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | 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:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 | 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:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 | 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:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read_vec_u16(f: &mut dyn Read, length: usize) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u8 | std::option::Option<&u8>` [INFO] [stdout] --> src/serialization.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => bytecode_iter.next().unwrap() << 8 | bytecode_iter.next(), [INFO] [stdout] | ^ no implementation for `u8 | std::option::Option<&u8>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&'a u8` implements `BitOr` [INFO] [stdout] `&u8` implements `BitOr<&u8>` [INFO] [stdout] `u8` implements `BitOr<&u8>` [INFO] [stdout] `u8` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `std::option::Option<&u8> << {integer}` [INFO] [stdout] --> src/serialization.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | ... 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap(), [INFO] [stdout] | -------------------- ^^ -- {integer} [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&u8> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&u8>` doesn't implement `Shl<{integer}>` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Shl<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `std::option::Option<&u8> << {integer}` [INFO] [stdout] --> src/serialization.rs:33:114 [INFO] [stdout] | [INFO] [stdout] 33 | ... 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap(), [INFO] [stdout] | -------------------- ^^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&u8> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&u8>` doesn't implement `Shl<{integer}>` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Shl<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u8 | std::option::Option<&u8>` [INFO] [stdout] --> src/serialization.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => bytecode_iter.next().unwrap() << 8 | bytecode_iter.next(), [INFO] [stdout] | ^ no implementation for `u8 | std::option::Option<&u8>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitOr>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `BitOr`: [INFO] [stdout] `&'a u8` implements `BitOr` [INFO] [stdout] `&u8` implements `BitOr<&u8>` [INFO] [stdout] `u8` implements `BitOr<&u8>` [INFO] [stdout] `u8` implements `BitOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `std::option::Option<&u8> << {integer}` [INFO] [stdout] --> src/serialization.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | ... 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap(), [INFO] [stdout] | -------------------- ^^ -- {integer} [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&u8> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&u8>` doesn't implement `Shl<{integer}>` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Shl<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `std::option::Option<&u8> << {integer}` [INFO] [stdout] --> src/serialization.rs:33:114 [INFO] [stdout] | [INFO] [stdout] 33 | ... 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap(), [INFO] [stdout] | -------------------- ^^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&u8> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&u8>` doesn't implement `Shl<{integer}>` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Shl<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/serialization.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 30 | let arg = match arg_len { [INFO] [stdout] | ___________________________- [INFO] [stdout] 31 | | 1 => bytecode_iter.next().unwrap(), [INFO] [stdout] | | ----------------------------- this is found to be of type `&u8` [INFO] [stdout] 32 | | 2 => bytecode_iter.next().unwrap() << 8 | bytecode_iter.next(), [INFO] [stdout] | | --------------------------------------------------------- this is found to be of type `&u8` [INFO] [stdout] 33 | | 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap... [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&u8`, found `u8` [INFO] [stdout] 34 | | }; [INFO] [stdout] | |_________________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 33 | 4 => &(bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap()), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/serialization.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 30 | let arg = match arg_len { [INFO] [stdout] | ___________________________- [INFO] [stdout] 31 | | 1 => bytecode_iter.next().unwrap(), [INFO] [stdout] | | ----------------------------- this is found to be of type `&u8` [INFO] [stdout] 32 | | 2 => bytecode_iter.next().unwrap() << 8 | bytecode_iter.next(), [INFO] [stdout] | | --------------------------------------------------------- this is found to be of type `&u8` [INFO] [stdout] 33 | | 4 => bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap... [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&u8`, found `u8` [INFO] [stdout] 34 | | }; [INFO] [stdout] | |_________________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 33 | 4 => &(bytecode_iter.next().unwrap() << 24 | bytecode_iter.next() << 16 | bytecode_iter.next() << 8 | bytecode_iter.next().unwrap()), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | 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:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let cp_info: Box = match tag { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | 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:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let cp_info: Box = match tag { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `class2json` (bin "class2json") due to 5 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `class2json` (bin "class2json" test) due to 5 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e5d0dd8ce6a2e933380e385f4e951f4d516b09982c774d248beca03dea243532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d0dd8ce6a2e933380e385f4e951f4d516b09982c774d248beca03dea243532", kill_on_drop: false }` [INFO] [stdout] e5d0dd8ce6a2e933380e385f4e951f4d516b09982c774d248beca03dea243532