Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-07-13 13:43:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust" Sat Jul 13 13:43:29 2019 rev:40 rq:714307 version:1.36.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2019-07-08 15:03:11.250730737 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.4615/rust.changes 2019-07-13 13:59:24.838916036 +0200 @@ -1,0 +2,78 @@ +Tue Jul 9 09:57:46 UTC 2019 - Luke Jones <[email protected]> + +- Remove fix-llvm8-build.patch, fixed upstream + +------------------------------------------------------------------- +Mon Jul 8 20:29:46 UTC 2019 - Luke Jones <[email protected]> + +- Update to version 1.36.0 + + Language + - Non-Lexical Lifetimes are now enabled on the 2015 edition + - The order of traits in trait objects no longer affects the semantics of that + object. e.g. `dyn Send + fmt::Debug` is now equivalent to + `dyn fmt::Debug + Send`, where this was previously not the case. + + Libraries + - `HashMap`'s implementation has been replaced with `hashbrown::HashMap` implementation + - `TryFromSliceError` now implements `From<Infallible>` + - `mem::needs_drop` is now available as a const fn + - `alloc::Layout::from_size_align_unchecked` is now available as a const fn + - `String` now implements `BorrowMut<str>` + - `io::Cursor` now implements `Default` + - Both `NonNull::{dangling, cast}` are now const fns + - The `alloc` crate is now stable. `alloc` allows you to use a subset + of `std` (e.g. `Vec`, `Box`, `Arc`) in `#![no_std]` environments if the + environment has access to heap memory allocation. + - String` now implements `From<&String>` + - You can now pass multiple arguments to the `dbg!` macro. `dbg!` will + return a tuple of each argument when there is multiple arguments. + - `Result::{is_err, is_ok}` are now `#[must_use]` and will produce a warning if + not used. + + Stabilized APIs + - VecDeque::rotate_left + - VecDeque::rotate_right + - Iterator::copied + - io::IoSlice + - io::IoSliceMut + - Read::read_vectored + - Write::write_vectored + - str::as_mut_ptr + - mem::MaybeUninit + - pointer::align_offset + - future::Future + - task::Context + - task::RawWaker + - task::RawWakerVTable + - task::Waker + - task::Poll + + Cargo + - Cargo will now produce an error if you attempt to use the name of a required dependency as a feature + - You can now pass the `--offline` flag to run cargo without accessing the network + + Clippy + - New lints: `find_map`, `filter_map_next` + - New lint: `path_buf_push_overwrite` + - Move `path_buf_push_overwrite` to the nursery + - Split `redundant_closure` into `redundant_closure` and `redundant_closure_for_method_calls` + - Allow allowing of `toplevel_ref_arg` lint + - Fix false negative in `or_fun_call` pertaining to nested constructors + - Fixed false positive in `or_fn_call` pertaining to enum variant constructors + - Fix false positive in `useless_let_if_seq` pertaining to interior mutability + - Fix false positive in `redundant_closure` pertaining to non-function types + - Fix false positive in `let_and_return` pertaining to attributes on `let`s + - Fix false positive in `module_name_repetitions` lint pertaining to attributes + - Fix false positive on `assertions_on_constants` pertaining to `debug_assert!` + - Improve suggestion in `map_clone` to suggest `.copied()` where applicable + - Improve suggestion for `search_is_some` + - Improve suggestion applicability for `naive_bytecount` + - Improve suggestion applicability for `while_let_loop` + - Improve diagnostics for `too_many_arguments` + - Improve diagnostics for `cast_lossless` + - Deal with macro checks in desugarings better + - Add macro check for `unnecessary_cast` + - Remove `approx_constant`'s documentation's "Known problems" section + - Fix ICE in `suspicious_else_formatting` + - Fix ICE in `decimal_literal_representation` + + Compatibility Notes + - With the stabilisation of `mem::MaybeUninit`, `mem::uninitialized` use is no + longer recommended, and will be deprecated in 1.38.0. + +------------------------------------------------------------------- Old: ---- fix-llvm8-build.patch rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.35.0-i686-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.35.0-s390x-unknown-linux-gnu.tar.xz rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.35.0-src.tar.xz New: ---- rust-1.36.0-aarch64-unknown-linux-gnu.tar.xz rust-1.36.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.36.0-i686-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.36.0-s390x-unknown-linux-gnu.tar.xz rust-1.36.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.36.0-src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.7XzL0W/_old 2019-07-13 13:59:43.826910233 +0200 +++ /var/tmp/diff_new_pack.7XzL0W/_new 2019-07-13 13:59:43.834910230 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.35.0 -%global version_previous 1.34.0 -%global version_bootstrap 1.35.0 +%global version_current 1.36.0 +%global version_previous 1.35.0 +%global version_bootstrap 1.36.0 # some sub-packages are versioned independantly %global rustfmt_version 1.0.3 %global clippy_version 0.0.212 @@ -107,8 +107,6 @@ Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch -# PATCH-FIX-UPSTREAM: gh#rust-lang/rust#60184 -Patch1: fix-llvm8-build.patch BuildRequires: ccache # Leap 42 to 42.3, SLE12 SP1, SP2 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200 @@ -277,9 +275,9 @@ %package -n clippy Summary: Lints to catch common mistakes and improve Rust code +# /usr/bin/clippy-driver is dynamically linked against internal rustc libs License: MPL-2.0 Group: Development/Languages/Rust -# /usr/bin/clippy-driver is dynamically linked against internal rustc libs Requires: %{name} = %{version} Requires: cargo = %{version} Provides: clippy = %{clippy_version} @@ -301,10 +299,10 @@ %package -n cargo-doc Summary: Documentation for Cargo -License: MIT OR Apache-2.0 -Group: Development/Languages/Rust # Cargo no longer builds its own documentation # https://github.com/rust-lang/cargo/pull/4904 +License: MIT OR Apache-2.0 +Group: Development/Languages/Rust Requires: rust-doc = %{version} BuildArch: noarch @@ -352,7 +350,6 @@ %setup -q -n rustc-%{version}-src %patch0 -p1 -%patch1 -p1 # use python3 sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py ++++++ rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz -> rust-1.36.0-aarch64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-aarch64-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.36.0-armv7-unknown-linux-gnueabihf.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-armv7-unknown-linux-gnueabihf.tar.xz differ: char 25, line 1 ++++++ rust-1.35.0-i686-unknown-linux-gnu.tar.xz -> rust-1.36.0-i686-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-i686-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.36.0-powerpc-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-powerpc-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.36.0-powerpc64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-powerpc64-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.36.0-powerpc64le-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-powerpc64le-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.35.0-s390x-unknown-linux-gnu.tar.xz -> rust-1.36.0-s390x-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-s390x-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz -> rust-1.36.0-x86_64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rust-1.36.0-x86_64-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rustc-1.35.0-src.tar.xz -> rustc-1.36.0-src.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rustc-1.35.0-src.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4615/rustc-1.36.0-src.tar.xz differ: char 27, line 1
