[INFO] fetching crate luna_nbt 0.0.3... [INFO] checking luna_nbt-0.0.3 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate luna_nbt 0.0.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate luna_nbt 0.0.3 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bedaa5502f799c07e841fa8b6d23060513e748daeeade0847be3054f85d5489e [INFO] running `Command { std: "docker" "start" "-a" "bedaa5502f799c07e841fa8b6d23060513e748daeeade0847be3054f85d5489e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bedaa5502f799c07e841fa8b6d23060513e748daeeade0847be3054f85d5489e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedaa5502f799c07e841fa8b6d23060513e748daeeade0847be3054f85d5489e", kill_on_drop: false }` [INFO] [stdout] bedaa5502f799c07e841fa8b6d23060513e748daeeade0847be3054f85d5489e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a909b224b249c07d5323bddd51f3af1845609dd818e1adbbeb7ba64f289e75b [INFO] running `Command { std: "docker" "start" "-a" "8a909b224b249c07d5323bddd51f3af1845609dd818e1adbbeb7ba64f289e75b", kill_on_drop: false }` [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking 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: 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] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luna_nbt` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luna_nbt` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a909b224b249c07d5323bddd51f3af1845609dd818e1adbbeb7ba64f289e75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a909b224b249c07d5323bddd51f3af1845609dd818e1adbbeb7ba64f289e75b", kill_on_drop: false }` [INFO] [stdout] 8a909b224b249c07d5323bddd51f3af1845609dd818e1adbbeb7ba64f289e75b