[INFO] fetching crate luna_nbt 0.0.3... [INFO] checking luna_nbt-0.0.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate luna_nbt 0.0.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate luna_nbt 0.0.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd248fcd0c5d633f24d433ef98dee55a7ae466bf9cb7f22f0bdcb3c7cc3b573 [INFO] running `Command { std: "docker" "start" "-a" "7fd248fcd0c5d633f24d433ef98dee55a7ae466bf9cb7f22f0bdcb3c7cc3b573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd248fcd0c5d633f24d433ef98dee55a7ae466bf9cb7f22f0bdcb3c7cc3b573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd248fcd0c5d633f24d433ef98dee55a7ae466bf9cb7f22f0bdcb3c7cc3b573", kill_on_drop: false }` [INFO] [stdout] 7fd248fcd0c5d633f24d433ef98dee55a7ae466bf9cb7f22f0bdcb3c7cc3b573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b887deecb987f6b5775a3682edd5eb4f198bc4fe52a5cc846feb3d71c648649 [INFO] running `Command { std: "docker" "start" "-a" "8b887deecb987f6b5775a3682edd5eb4f198bc4fe52a5cc846feb3d71c648649", kill_on_drop: false }` [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking serde v1.0.210 [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] 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: 5 warnings emitted [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s [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 3` [INFO] running `Command { std: "docker" "inspect" "8b887deecb987f6b5775a3682edd5eb4f198bc4fe52a5cc846feb3d71c648649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b887deecb987f6b5775a3682edd5eb4f198bc4fe52a5cc846feb3d71c648649", kill_on_drop: false }` [INFO] [stdout] 8b887deecb987f6b5775a3682edd5eb4f198bc4fe52a5cc846feb3d71c648649