[INFO] fetching crate nbt 0.1.2... [INFO] testing nbt-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nbt 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate nbt 0.1.2 [INFO] finished tweaking crates.io crate nbt 0.1.2 [INFO] tweaked toml for crates.io crate nbt 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nbt 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d98f409e04c0c34d6b98b1484b142bba992b3ae3e6a8049e2fc2927c9e1b0a3b [INFO] running `Command { std: "docker" "start" "-a" "d98f409e04c0c34d6b98b1484b142bba992b3ae3e6a8049e2fc2927c9e1b0a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d98f409e04c0c34d6b98b1484b142bba992b3ae3e6a8049e2fc2927c9e1b0a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98f409e04c0c34d6b98b1484b142bba992b3ae3e6a8049e2fc2927c9e1b0a3b", kill_on_drop: false }` [INFO] [stdout] d98f409e04c0c34d6b98b1484b142bba992b3ae3e6a8049e2fc2927c9e1b0a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0473b5e7a05286c71a1aff09971b4a8a33db055cc270baf44fcb3c94b999b18e [INFO] running `Command { std: "docker" "start" "-a" "0473b5e7a05286c71a1aff09971b4a8a33db055cc270baf44fcb3c94b999b18e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling nbt v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(reader.read(&mut raw_name_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(reader.read(&mut *raw_name_dat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | try!(reader.read(&mut *slice)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | TagType::Byte => Ok(Tag::Byte( try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | TagType::Short => Ok(Tag::Short( try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | TagType::Int => Ok(Tag::Int( try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | TagType::Long => Ok(Tag::Long( try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | TagType::Float => Ok(Tag::Float( try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | TagType::Double => Ok(Tag::Double(try!(read_primitive(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(reader.read(bytes.as_mut_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | let len = try!(read_primitive::<_, i32>(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | TagType::String => Ok(Tag::String(try!(read_string(reader)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let et = try!(read_primitive::<_, i8>(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let len = try!(read_primitive::<_, i32>(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | vec.push(try!(read_value(reader, tt.unwrap()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let len = try!(read_primitive::<_, i32>(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | ints.push(try!(read_primitive::<_, i32>(reader))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | try!(reader.read(&mut header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let name = try!(read_string(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let v = try!(read_value(reader, t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | Compression::Uncompressed => Box::new(try!(File::open(file))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | Box::new(try!(GzDecoder::new(try!(File::open(file))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | Box::new(try!(GzDecoder::new(try!(File::open(file))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(try!(writer.write(&i.to_bytes()).map(|_| ()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(write_primitive(writer, s.len() as i16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(try!(writer.write(s.as_bytes()).map(|_| ()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | Tag::Byte(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | Tag::Short(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | Tag::Int(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | Tag::Long(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | Tag::Float(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | Tag::Double(x) => try!(write_primitive(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write_primitive(writer, x.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | try!(writer.write(&*x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | Tag::String(ref x) => try!(write_string(writer, x)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write_primitive(writer, x.element_type.to_binary() as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | try!(write_primitive(writer, x.elements.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write_value(writer, i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | try!(write_primitive(writer, 0_i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | try!(write_tag(writer, (nam, val))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | try!(write_primitive(writer, x.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | try!(write_primitive(writer, *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | try!(write_primitive(writer, tag.1.get_type().to_binary() as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | try!(write_string(writer, tag.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | try!(write_value(writer, tag.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(try!(writer.flush())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | Box::new(try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `convert` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(convert)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decode.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | reader: Box [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | reader: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encode.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | writer: Box [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | writer: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/traits.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | fn from_nbt(val: &Tag) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:591:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 84 | fn from_nbt(val: &Tag) -> Option where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | fn from_bytes(d: &[u8]) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:591:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 79 | fn from_bytes(d: &[u8]) -> Option where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decode.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | Box::new(try!(GzDecoder::new(try!(File::open(file))))) [INFO] [stdout] | ^^^^^--------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `flate2::read::GzDecoder` [INFO] [stdout] | expected `GzDecoder`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `flate2::read::GzDecoder` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decode.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | Box::new(try!(GzDecoder::new(try!(File::open(file))))) [INFO] [stdout] | ^^^^^--------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `flate2::read::GzDecoder` [INFO] [stdout] | expected `GzDecoder`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `flate2::read::GzDecoder` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Default` found for struct `flate2::Compression` in the current scope [INFO] [stdout] --> src/encode.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 110 | flate2::Compression::Default)) [INFO] [stdout] | ^^^^^^^ associated item not found in `flate2::Compression` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `default` with a similar name [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/default.rs:139:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/decode.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let siz = unsafe { std::intrinsics::size_of::() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbt` (lib) due to 6 previous errors; 52 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0473b5e7a05286c71a1aff09971b4a8a33db055cc270baf44fcb3c94b999b18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0473b5e7a05286c71a1aff09971b4a8a33db055cc270baf44fcb3c94b999b18e", kill_on_drop: false }` [INFO] [stdout] 0473b5e7a05286c71a1aff09971b4a8a33db055cc270baf44fcb3c94b999b18e