From dev-return-52757-archive-asf-public=cust-asf.ponee.io@thrift.apache.org Tue Jun 5 20:48:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6705E180625 for ; Tue, 5 Jun 2018 20:48:04 +0200 (CEST) Received: (qmail 24529 invoked by uid 500); 5 Jun 2018 18:48:03 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 24517 invoked by uid 99); 5 Jun 2018 18:48:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2018 18:48:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 043EA1A2587 for ; Tue, 5 Jun 2018 18:48:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3gwGZ89Rj6_l for ; Tue, 5 Jun 2018 18:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D70F35F173 for ; Tue, 5 Jun 2018 18:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 68A0AE0234 for ; Tue, 5 Jun 2018 18:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2A78521097 for ; Tue, 5 Jun 2018 18:48:00 +0000 (UTC) Date: Tue, 5 Jun 2018 18:48:00 +0000 (UTC) From: "James E. King III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (THRIFT-4303) D deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/THRIFT-4303?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] James E. King III updated THRIFT-4303: -------------------------------------- Description:=20 In the ubuntu 16.04 image dmd is version 2.075 and the following warnings a= re being presented when building "make check": {noformat} ../../lib/d/src/thrift/transport/socket.d(83): Deprecation: Implicit string= concatenation is deprecated, use "DMD bug? \u2013 Why would contracts work= for interfaces, but not " ~ "for abstract methods? " instead ../../lib/d/src/thrift/transport/socket.d(84): Deprecation: Implicit string= concatenation is deprecated, use "for abstract methods? " ~ "(Error: funct= ion [\u2026] in and out contracts require function body" instead src/thrift/protocol/json.d(29): Deprecation: function std.utf.toUTF8 is dep= recated - To be removed November 2017. Please use std.utf.encode instead. src/thrift/transport/http.d(334): Deprecation: Implicit string concatenatio= n is deprecated, use "Accept: application/x-thrift\x0d\x0a" ~ "User-Agent: = Thrift/" instead {noformat} I cleaned all but the UTF8 one up in this PR: [https://github.com/apache/thrift/pull/1340/files] =C2=A0 In the ubuntu 18.04 image dmd is 2.077.1 and the following deprecations are= present: [https://api.travis-ci.org/v3/job/387336455/log.txt] {noformat} =1B[1msrc/thrift/server/nonblocking.d(896): =1B[1;36mDeprecation: =1B[mthri= ft.server.base.TServer.inputTransportFactory_ is not visible from module th= rift.server.nonblocking =1B[1msrc/thrift/server/nonblocking.d(898): =1B[1;36mDeprecation: =1B[mthri= ft.server.base.TServer.outputTransportFactory_ is not visible from module t= hrift.server.nonblocking =1B[1msrc/thrift/server/nonblocking.d(901): =1B[1;36mDeprecation: =1B[mthri= ft.server.base.TServer.inputProtocolFactory_ is not visible from module thr= ift.server.nonblocking =1B[1msrc/thrift/server/nonblocking.d(903): =1B[1;36mDeprecation: =1B[mthri= ft.server.base.TServer.outputProtocolFactory_ is not visible from module th= rift.server.nonblocking =1B[1msrc/thrift/server/nonblocking.d(911): =1B[1;36mDeprecation: =1B[mthri= ft.server.base.TServer.processorFactory_ is not visible from module thrift.= server.nonblocking =1B[1mthrift_test_client.d(128): =1B[1;36mDeprecation: =1B[mstruct std.date= time.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. =1B[1mthrift_test_client.d(128): =1B[1;36mDeprecation: =1B[mstruct std.date= time.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[mstruct std.date= time.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[malias std.datet= ime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart. =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[mstruct std.date= time.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.{noform= at} was: In the ubuntu 16.04 image dmd is version 2.075 and the following warnings a= re being presented when building "make check": {noformat} ../../lib/d/src/thrift/transport/socket.d(83): Deprecation: Implicit string= concatenation is deprecated, use "DMD bug? \u2013 Why would contracts work= for interfaces, but not " ~ "for abstract methods? " instead ../../lib/d/src/thrift/transport/socket.d(84): Deprecation: Implicit string= concatenation is deprecated, use "for abstract methods? " ~ "(Error: funct= ion [\u2026] in and out contracts require function body" instead src/thrift/protocol/json.d(29): Deprecation: function std.utf.toUTF8 is dep= recated - To be removed November 2017. Please use std.utf.encode instead. src/thrift/transport/http.d(334): Deprecation: Implicit string concatenatio= n is deprecated, use "Accept: application/x-thrift\x0d\x0a" ~ "User-Agent: = Thrift/" instead {noformat} I cleaned all but the UTF8 one up in this PR: [https://github.com/apache/thrift/pull/1340/files] > D deprecation warnings > ---------------------- > > Key: THRIFT-4303 > URL: https://issues.apache.org/jira/browse/THRIFT-4303 > Project: Thrift > Issue Type: Bug > Components: D - Library > Affects Versions: 0.10.0, 0.11.0 > Environment: docker:ubuntu-xenial, docker:ubuntu-artful > Reporter: James E. King III > Priority: Minor > > In the ubuntu 16.04 image dmd is version 2.075 and the following warnings= are being presented when building "make check": > {noformat} > ../../lib/d/src/thrift/transport/socket.d(83): Deprecation: Implicit stri= ng concatenation is deprecated, use "DMD bug? \u2013 Why would contracts wo= rk for interfaces, but not " ~ "for abstract methods? " instead > ../../lib/d/src/thrift/transport/socket.d(84): Deprecation: Implicit stri= ng concatenation is deprecated, use "for abstract methods? " ~ "(Error: fun= ction [\u2026] in and out contracts require function body" instead > src/thrift/protocol/json.d(29): Deprecation: function std.utf.toUTF8 is d= eprecated - To be removed November 2017. Please use std.utf.encode instead. > src/thrift/transport/http.d(334): Deprecation: Implicit string concatenat= ion is deprecated, use "Accept: application/x-thrift\x0d\x0a" ~ "User-Agent= : Thrift/" instead > {noformat} > I cleaned all but the UTF8 one up in this PR: > [https://github.com/apache/thrift/pull/1340/files] > =C2=A0 > In the ubuntu 18.04 image dmd is 2.077.1 and the following deprecations a= re present: > [https://api.travis-ci.org/v3/job/387336455/log.txt] > {noformat} > =1B[1msrc/thrift/server/nonblocking.d(896): =1B[1;36mDeprecation: =1B[mth= rift.server.base.TServer.inputTransportFactory_ is not visible from module = thrift.server.nonblocking > =1B[1msrc/thrift/server/nonblocking.d(898): =1B[1;36mDeprecation: =1B[mth= rift.server.base.TServer.outputTransportFactory_ is not visible from module= thrift.server.nonblocking > =1B[1msrc/thrift/server/nonblocking.d(901): =1B[1;36mDeprecation: =1B[mth= rift.server.base.TServer.inputProtocolFactory_ is not visible from module t= hrift.server.nonblocking > =1B[1msrc/thrift/server/nonblocking.d(903): =1B[1;36mDeprecation: =1B[mth= rift.server.base.TServer.outputProtocolFactory_ is not visible from module = thrift.server.nonblocking > =1B[1msrc/thrift/server/nonblocking.d(911): =1B[1;36mDeprecation: =1B[mth= rift.server.base.TServer.processorFactory_ is not visible from module thrif= t.server.nonblocking > =1B[1mthrift_test_client.d(128): =1B[1;36mDeprecation: =1B[mstruct std.da= tetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > =1B[1mthrift_test_client.d(128): =1B[1;36mDeprecation: =1B[mstruct std.da= tetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[mstruct std.da= tetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch. > =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[malias std.dat= etime.AutoStart is deprecated - Use std.datetime.stopwatch.AutoStart. > =1B[1mthrift_test_client.d(338): =1B[1;36mDeprecation: =1B[mstruct std.da= tetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.{nofo= rmat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)