[INFO] fetching crate luna_nbt 0.0.3... [INFO] testing luna_nbt-0.0.3 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate luna_nbt 0.0.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate luna_nbt 0.0.3 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate luna_nbt 0.0.3 [INFO] finished tweaking crates.io crate luna_nbt 0.0.3 [INFO] tweaked toml for crates.io crate luna_nbt 0.0.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a141791852b42a20aa028666bd15b0d567f4af60c91bb36b40cbf55559884b [INFO] running `Command { std: "docker" "start" "-a" "65a141791852b42a20aa028666bd15b0d567f4af60c91bb36b40cbf55559884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a141791852b42a20aa028666bd15b0d567f4af60c91bb36b40cbf55559884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a141791852b42a20aa028666bd15b0d567f4af60c91bb36b40cbf55559884b", kill_on_drop: false }` [INFO] [stdout] 65a141791852b42a20aa028666bd15b0d567f4af60c91bb36b40cbf55559884b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84277fcf9ff85a63abb65fc2f0cf7b8fd2773af77b920b166363c83f5990b4d7 [INFO] running `Command { std: "docker" "start" "-a" "84277fcf9ff85a63abb65fc2f0cf7b8fd2773af77b920b166363c83f5990b4d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling luna_nbt v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 121 | unsigned_type!(self, visitor, Byte, TAG_Byte, visit_u8, u8, "u8") [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | unsigned_type!(self, visitor, Short, TAG_Short, visit_u16, u16, "u16") [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 129 | unsigned_type!(self, visitor, Int, TAG_Int, visit_u32, u32, "u32") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | unsigned_type!(self, visitor, Long, TAG_Long, visit_u64, u64, "u64") [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/blob.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tags::Tag` does not implement `Clone`, so calling `clone` on `&tags::Tag` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 71 - T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] 71 + T::from_borrowed_tag(self.elements.get(&name.to_string())?) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tags::Tag`, implement `Clone` for it [INFO] [stdout] --> src/tags.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109+ #[derive(Clone)] [INFO] [stdout] 110| pub enum Tag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: luna_nbt v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "84277fcf9ff85a63abb65fc2f0cf7b8fd2773af77b920b166363c83f5990b4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84277fcf9ff85a63abb65fc2f0cf7b8fd2773af77b920b166363c83f5990b4d7", kill_on_drop: false }` [INFO] [stdout] 84277fcf9ff85a63abb65fc2f0cf7b8fd2773af77b920b166363c83f5990b4d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519faae6b7f1bbeac55b70ddfffa60dfe86e789d996737b853d88d1d0d763d3d [INFO] running `Command { std: "docker" "start" "-a" "519faae6b7f1bbeac55b70ddfffa60dfe86e789d996737b853d88d1d0d763d3d", kill_on_drop: false }` [INFO] [stderr] Compiling luna_nbt v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 121 | unsigned_type!(self, visitor, Byte, TAG_Byte, visit_u8, u8, "u8") [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | unsigned_type!(self, visitor, Short, TAG_Short, visit_u16, u16, "u16") [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 129 | unsigned_type!(self, visitor, Int, TAG_Int, visit_u32, u32, "u32") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | unsigned_type!(self, visitor, Long, TAG_Long, visit_u64, u64, "u64") [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/blob.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tags::Tag` does not implement `Clone`, so calling `clone` on `&tags::Tag` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 71 - T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] 71 + T::from_borrowed_tag(self.elements.get(&name.to_string())?) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tags::Tag`, implement `Clone` for it [INFO] [stdout] --> src/tags.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109+ #[derive(Clone)] [INFO] [stdout] 110| pub enum Tag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 121 | unsigned_type!(self, visitor, Byte, TAG_Byte, visit_u8, u8, "u8") [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | unsigned_type!(self, visitor, Short, TAG_Short, visit_u16, u16, "u16") [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 129 | unsigned_type!(self, visitor, Int, TAG_Int, visit_u32, u32, "u32") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/de.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | unsigned_type!(self, visitor, Long, TAG_Long, visit_u64, u64, "u64") [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stdout] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/blob.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tags::Tag` does not implement `Clone`, so calling `clone` on `&tags::Tag` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 71 - T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stdout] 71 + T::from_borrowed_tag(self.elements.get(&name.to_string())?) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tags::Tag`, implement `Clone` for it [INFO] [stdout] --> src/tags.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109+ #[derive(Clone)] [INFO] [stdout] 110| pub enum Tag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: luna_nbt v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "519faae6b7f1bbeac55b70ddfffa60dfe86e789d996737b853d88d1d0d763d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519faae6b7f1bbeac55b70ddfffa60dfe86e789d996737b853d88d1d0d763d3d", kill_on_drop: false }` [INFO] [stdout] 519faae6b7f1bbeac55b70ddfffa60dfe86e789d996737b853d88d1d0d763d3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] df69dcd6f90cd934db9dadf0495dbc6f16426f13ee1862e7c3452865365719ab [INFO] running `Command { std: "docker" "start" "-a" "df69dcd6f90cd934db9dadf0495dbc6f16426f13ee1862e7c3452865365719ab", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/de.rs:54:82 [INFO] [stderr] | [INFO] [stderr] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 121 | unsigned_type!(self, visitor, Byte, TAG_Byte, visit_u8, u8, "u8") [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/de.rs:54:82 [INFO] [stderr] | [INFO] [stderr] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 125 | unsigned_type!(self, visitor, Short, TAG_Short, visit_u16, u16, "u16") [INFO] [stderr] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stderr] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/de.rs:54:82 [INFO] [stderr] | [INFO] [stderr] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 129 | unsigned_type!(self, visitor, Int, TAG_Int, visit_u32, u32, "u32") [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stderr] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/de.rs:54:82 [INFO] [stderr] | [INFO] [stderr] 54 | return Err(NBTError::UnserializableType { type_name: $name.to_string() }); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 134 | unsigned_type!(self, visitor, Long, TAG_Long, visit_u64, u64, "u64") [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `unsigned_type` [INFO] [stderr] = note: this warning originates in the macro `unsigned_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/blob.rs:71:67 [INFO] [stderr] | [INFO] [stderr] 71 | T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `tags::Tag` does not implement `Clone`, so calling `clone` on `&tags::Tag` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 71 - T::from_borrowed_tag(self.elements.get(&name.to_string())?.clone()) [INFO] [stderr] 71 + T::from_borrowed_tag(self.elements.get(&name.to_string())?) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `tags::Tag`, implement `Clone` for it [INFO] [stderr] --> src/tags.rs:109:1 [INFO] [stderr] | [INFO] [stderr] 109+ #[derive(Clone)] [INFO] [stderr] 110| pub enum Tag { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `luna_nbt` (lib) generated 5 warnings (run `cargo fix --lib -p luna_nbt` to apply 1 suggestion) [INFO] [stderr] warning: `luna_nbt` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: luna_nbt v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nbt-ef6ce8e8d188a9d2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::blob_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nbt [INFO] [stderr] error: DefId(0:0 ~ nbt[f3cf]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name nbt --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-1efcbe4f07366651.rlib --extern cesu8=/opt/rustwide/target/debug/deps/libcesu8-a5d16749e03fc3cd.rlib --extern nbt=/opt/rustwide/target/debug/deps/libnbt-405adcf21c16e121.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-68e5fea551ad7597.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="serde_boolean"' --cfg 'feature="with_serde"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "serde_boolean", "serde_unsigned", "with_serde"))' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "df69dcd6f90cd934db9dadf0495dbc6f16426f13ee1862e7c3452865365719ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df69dcd6f90cd934db9dadf0495dbc6f16426f13ee1862e7c3452865365719ab", kill_on_drop: false }` [INFO] [stdout] df69dcd6f90cd934db9dadf0495dbc6f16426f13ee1862e7c3452865365719ab