Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 15:40:25 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569338 - head/lang/gleam
Message-ID:  <202103271540.12RFePt4029571@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Mar 27 15:40:25 2021
New Revision: 569338
URL: https://svnweb.freebsd.org/changeset/ports/569338

Log:
  lang/gleam: Unbreak build with Rust 1.51.0 (D29425)
  
  error: a method with this name may be added to the standard library in the future
     --> src/docs.rs:142:54
      |
  142 |             unnest: module.name.iter().map(|_| "..").intersperse("/").collect(),
      |                                                      ^^^^^^^^^^^
      |
  note: the lint level is defined here
     --> src/main.rs:1:9
      |
  1   | #![deny(warnings)]
      |         ^^^^^^^^
      = note: `#[deny(unstable_name_collisions)]` implied by `#[deny(warnings)]`
      = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior!
      = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>;
      = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method
  
  Cap the lint level at warnings for now
  
  http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-03-26_19h06m01s/logs/errors/gleam-0.14.2.log
  
  PR:		254578

Modified:
  head/lang/gleam/Makefile

Modified: head/lang/gleam/Makefile
==============================================================================
--- head/lang/gleam/Makefile	Sat Mar 27 15:30:25 2021	(r569337)
+++ head/lang/gleam/Makefile	Sat Mar 27 15:40:25 2021	(r569338)
@@ -234,6 +234,7 @@ CARGO_CRATES=	adler-0.2.3 \
 		wyz-0.2.0 \
 		x509-parser-0.9.0 \
 		xattr-0.2.2
+RUSTFLAGS+=	--cap-lints=warn
 
 PLIST_FILES=	bin/gleam
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103271540.12RFePt4029571>