[INFO] fetching crate luna_nbt 0.0.3... [INFO] testing luna_nbt-0.0.3 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate luna_nbt 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate luna_nbt 0.0.3 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94948133e0403e23c6af82dbf2cfbcb6eb2847eb897ca5c14fa535e87a61431b [INFO] running `Command { std: "docker" "start" "-a" "94948133e0403e23c6af82dbf2cfbcb6eb2847eb897ca5c14fa535e87a61431b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94948133e0403e23c6af82dbf2cfbcb6eb2847eb897ca5c14fa535e87a61431b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94948133e0403e23c6af82dbf2cfbcb6eb2847eb897ca5c14fa535e87a61431b", kill_on_drop: false }` [INFO] [stdout] 94948133e0403e23c6af82dbf2cfbcb6eb2847eb897ca5c14fa535e87a61431b [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2110e7eaae6185cc3b8893c9b8c706e7784f2c6eef8efba9156f682714bd485 [INFO] running `Command { std: "docker" "start" "-a" "d2110e7eaae6185cc3b8893c9b8c706e7784f2c6eef8efba9156f682714bd485", 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 9.77s [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" "d2110e7eaae6185cc3b8893c9b8c706e7784f2c6eef8efba9156f682714bd485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2110e7eaae6185cc3b8893c9b8c706e7784f2c6eef8efba9156f682714bd485", kill_on_drop: false }` [INFO] [stdout] d2110e7eaae6185cc3b8893c9b8c706e7784f2c6eef8efba9156f682714bd485 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a79b362e421eab58872b7b95aae732c1afec893921713bf0f6594e945a4243f [INFO] running `Command { std: "docker" "start" "-a" "4a79b362e421eab58872b7b95aae732c1afec893921713bf0f6594e945a4243f", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.42s [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" "4a79b362e421eab58872b7b95aae732c1afec893921713bf0f6594e945a4243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a79b362e421eab58872b7b95aae732c1afec893921713bf0f6594e945a4243f", kill_on_drop: false }` [INFO] [stdout] 4a79b362e421eab58872b7b95aae732c1afec893921713bf0f6594e945a4243f [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b48eaf737f7c8054c76ac6d1b1fdd3f57d1334974a634226f6f7241af5b780a [INFO] running `Command { std: "docker" "start" "-a" "8b48eaf737f7c8054c76ac6d1b1fdd3f57d1334974a634226f6f7241af5b780a", 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.02s [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] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/lib.rs - (line 52) ... ok [INFO] [stdout] test src/blob.rs - blob::Blob::insert (line 48) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ok [INFO] [stdout] test src/front.rs - front::decode_tag (line 164) ... ok [INFO] [stdout] test src/blob.rs - blob::Blob::get (line 61) ... ok [INFO] [stdout] test src/front.rs - front::encode (line 127) ... ok [INFO] [stdout] test src/blob.rs - blob::Blob (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 77) ... ok [INFO] [stdout] test src/lib.rs - (line 116) ... ok [INFO] [stdout] test src/front.rs - front::decode_named (line 211) ... ok [INFO] [stdout] test src/lib.rs - (line 92) ... ok [INFO] [stdout] test src/front.rs - front::decode (line 184) ... ok [INFO] [stdout] test src/front.rs - front::encode_named (line 84) ... ok [INFO] [stdout] test src/front.rs - front::encode_tag (line 69) ... ok [INFO] [stdout] test src/lib.rs - (line 142) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b48eaf737f7c8054c76ac6d1b1fdd3f57d1334974a634226f6f7241af5b780a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b48eaf737f7c8054c76ac6d1b1fdd3f57d1334974a634226f6f7241af5b780a", kill_on_drop: false }` [INFO] [stdout] 8b48eaf737f7c8054c76ac6d1b1fdd3f57d1334974a634226f6f7241af5b780a