id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
609,844,765
puppeteer
Add first level logging capability
I would like to propose a logging capability that allows Puppeteer user to be informed about events happening in Puppeteer and Chrome DevTools. Currently you have to [overwrite](https://github.com/webdriverio/webdriverio/blob/master/packages/devtools/src/utils.js#L304-L335) the `debug` package to access this. It would be great if this would be more accessible. My goals are: - ability to receive log messages from Puppeteer for my own logging purposes - ability to listen to all CDP communication - __extra__ (not required): ability to recreate Puppeteer code based on command calls on its primitives ## Use Cases 1) As a WebdriverIO maintainer that [uses](https://webdriver.io/blog/2019/09/16/devtools.html) Puppeteer for Chromium based automation I would like to incorporate Puppeteer logs into the logs that are generated by WebdriverIO without having to monkey patch the debug package. This would fail if the user has the same version of the debug package installed (see webdriverio/webdriverio#5338). 2) As a reporting plugin maintainer it would be very beneficial if all CDP communication can be obtained in a single place. With that I can attach that reporting tool during initialisation and doesn't need to work with Puppeteer primitives to register unnecessary event listeners. 3) As a cloud provider that runs Puppeteer on its platform it would be ideal if Puppeteer commands can be be retraced from the test execution. For example if someone calls `wait page.keyboard.type('Hello World!')` a bunch of `Input.dispatchKeyEvent` commands are being send over to Chrome. For user not familiar with the Chrome DevTools protocol it would be much more insightful if Puppeteer commands can be logged instead of CDP events. However this is not a requirement for me as I am not sure if this should be done Puppeteer or some other instrumentation tool. --- If you all could give me some direction I would be happy to contribute. I was looking into [Playwrights](https://github.com/microsoft/playwright/blob/master/docs/api.md#class-logger) approach and found it very useful. Maybe it could be just ported to Puppeteer? What do you all think?
feature,confirmed
low
Critical
609,849,265
rust
slice -> array conversion function
See the discussion here: https://internals.rust-lang.org/t/more-about-slice-array-conversions/12251 I suggest to add two related functions (mutable and not mutable versions) that allows to replace code similar to this: ``` row.get_mut(8*x .. 8*x + 8).unwrap().try_into().unwrap() ``` In a shorter, simpler and less bug-prone way, and with only one unwrap (in this specific case there's no need to specify the length as const generic value because it's inferred by the result. In other cases you specify it with a turbofish): ``` row.array_from_mut(8 * x).unwrap() ``` The two slice methods could be like (currently they can't be const fn): ``` pub fn array_from<const LEN: usize>(&self, pos: usize) -> Option<&[T; LEN]> { if let Some(piece) = self.get(pos .. pos + LEN) { let temp_ptr: *const [T] = piece; unsafe { Some( std::mem::transmute(temp_ptr as *const [T; LEN]) ) } } else { None } } pub fn array_from_mut<const LEN: usize>(&mut self, pos: usize) -> Option<&mut [T; LEN]> { if let Some(piece) = self.get_mut(pos .. pos + LEN) { let temp_ptr: *mut [T] = piece; unsafe { Some( std::mem::transmute(temp_ptr as *mut [T; LEN]) ) } } else { None } } ```
T-libs-api,C-feature-request,A-const-generics,A-slice,A-array
low
Critical
609,860,664
rust
Backtrace rendering inconsistent between `std::backtrace` and panics
I tried this code on nightly: ```rust #![feature(backtrace)] fn main() { let backtrace = std::backtrace::Backtrace::capture(); eprintln!("{}", backtrace); panic!(); } ``` This prints: ``` 0: playground::main at src/main.rs:4 1: std::rt::lang_start::{{closure}} at /rustc/fa51f810e5b9254904b92660e7280b7d6a46f112/src/libstd/rt.rs:67 2: std::rt::lang_start_internal::{{closure}} at src/libstd/rt.rs:52 std::panicking::try::do_call at src/libstd/panicking.rs:297 std::panicking::try at src/libstd/panicking.rs:274 std::panic::catch_unwind at src/libstd/panic.rs:394 std::rt::lang_start_internal at src/libstd/rt.rs:51 3: std::rt::lang_start at /rustc/fa51f810e5b9254904b92660e7280b7d6a46f112/src/libstd/rt.rs:67 4: main 5: __libc_start_main 6: _start thread 'main' panicked at 'explicit panic', src/main.rs:7:5 stack backtrace: 0: backtrace::backtrace::libunwind::trace at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 1: backtrace::backtrace::trace_unsynchronized at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 2: std::sys_common::backtrace::_print_fmt at src/libstd/sys_common/backtrace.rs:78 3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt at src/libstd/sys_common/backtrace.rs:59 4: core::fmt::write at src/libcore/fmt/mod.rs:1069 5: std::io::Write::write_fmt at src/libstd/io/mod.rs:1532 6: std::sys_common::backtrace::_print at src/libstd/sys_common/backtrace.rs:62 7: std::sys_common::backtrace::print at src/libstd/sys_common/backtrace.rs:49 8: std::panicking::default_hook::{{closure}} at src/libstd/panicking.rs:198 9: std::panicking::default_hook at src/libstd/panicking.rs:218 10: std::panicking::rust_panic_with_hook at src/libstd/panicking.rs:477 11: std::panicking::begin_panic at /rustc/fa51f810e5b9254904b92660e7280b7d6a46f112/src/libstd/panicking.rs:404 12: playground::main at src/main.rs:7 13: std::rt::lang_start::{{closure}} at /rustc/fa51f810e5b9254904b92660e7280b7d6a46f112/src/libstd/rt.rs:67 14: std::rt::lang_start_internal::{{closure}} at src/libstd/rt.rs:52 15: std::panicking::try::do_call at src/libstd/panicking.rs:297 16: std::panicking::try at src/libstd/panicking.rs:274 17: std::panic::catch_unwind at src/libstd/panic.rs:394 18: std::rt::lang_start_internal at src/libstd/rt.rs:51 19: std::rt::lang_start at /rustc/fa51f810e5b9254904b92660e7280b7d6a46f112/src/libstd/rt.rs:67 20: main 21: __libc_start_main 22: _start ``` As you can see, the first backtrace omits the frame number for some functions, probably because these all share a single frame after inlining. The panic backtrace for some reason lacks this information. Looks like we have two separate pieces of backtrace-printing code in libstd, and they behave differently?
A-runtime,C-enhancement,T-libs-api
low
Major
609,878,194
flutter
Curved top edge bottom navigation Bar notch
I tried curved top edge bottom navigation Bar notch .But I failed. I use [this ](https://github.com/flutter/flutter/issues/21650#issuecomment-476412335)issue for rectangle shape notch and all is good. How can i curved top edges? ![xbnrO](https://user-images.githubusercontent.com/38331149/80707509-eb938180-8a9e-11ea-8f7b-3a881c70fe7f.png) like this ![qjIfK](https://user-images.githubusercontent.com/38331149/80707650-2d242c80-8a9f-11ea-908e-51ca8fd9239d.png) ``` import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class MainScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( extendBody: true, bottomNavigationBar: BottomAppBar( elevation: 0.3, notchMargin: 5, clipBehavior: Clip.antiAlias, color: Color(0xff1c1f26), shape: AutomaticNotchedShape( RoundedRectangleBorder( borderRadius: BorderRadius.only( topLeft: Radius.circular(20), topRight: Radius.circular(20))), RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(20)))), child: SizedBox( width: double.infinity, height: 60, )), floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked, floatingActionButton: FloatingActionButton( shape: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(20))), onPressed: () {}, child: Icon(Icons.add), ), ); } } ```
c: new feature,framework,f: material design,P3,team-design,triaged-design
low
Critical
609,889,038
angular
@ContentChildren() works fine with static true but according to the ts definitions it doesnt accept static true
this is not really a bug but I didnt know what else can I qualify it as.. basically when you have a ContentChildren decorator you can pass static true and access the content children in the ngOnInit lifecycle hook however I was wondering if its safe to rely on that as it is not part of the typescript definitions for the acceptable options
type: bug/fix,breaking changes,hotlist: error messages,area: core,state: confirmed,core: queries,design complexity: low-hanging,P4
low
Critical
609,929,409
youtube-dl
[h264_nvenc] How to enable decode on GPU?
I use ffmpeg and i can decode video on GPU using **h264_nvenc** ``` cmd = '{0} -i "{1}" -vcodec h264_nvenc -acodec aac "{2}"' # {0} - ffmpeg path # {1} - input file # {2} - output file ``` How can i use **h264_nvenc** in post-processing options?
question
low
Minor
609,970,759
rust
diagnostic: rustc points to wrong type parameters in error message
In some generic code https://github.com/yaahc/errtools/commit/bac775562e3450ac085b33dab3b7d35d2b12dc46 I encountered an error that I expected, but a diagnostic that I did not. Specifically I have a trait like this, ```rust pub trait WrapErr<T, E, E2> { // ... /// Wrap the error value with a new adhoc error that is evaluated lazily /// only once an error does occur. fn wrap_err_with<D, F>(self, f: F) -> Result<T, E2> where D: Display + Send + Sync + 'static, E2: From<(E, String)>, F: FnOnce() -> D; } ``` And I was testing this with an error kind pattern where I knew it wouldn't be able to infer the inner error type because only the outer error type is in the signature. ```rust #[derive(Error, Debug)] enum PrivateKind { #[error("{msg}")] Variant1 { source: Box<dyn Error + Send + Sync + 'static>, msg: String, }, } #[derive(Error, Debug)] #[error(transparent)] struct PublicErrorStruct { #[from] source: PrivateKind, } fn do_thing(path: &str) -> Result<String, PublicErrorStruct> { let s = std::fs::read_to_string(path) .wrap_err_with(|| format!("unable to read file from path: {}", path))?; Ok(s) } ``` However, when `wrap_err_with` actually produced a "type annotation needed error it unhelpfully pointed to the generic parameters on the function, rather than the parameters "on the trait. ![Screenshot from 2020-04-30 06-10-04](https://user-images.githubusercontent.com/1993852/80714443-cc4e2180-8aa9-11ea-9d49-01f58be09324.png) If possible I think the compiler should attempt to pinpoint _which_ generic parameter needs a type annotation and make sure it points to the list where that parameter was declared, in this case it should point specifically to `E2`. cc @estebank
A-diagnostics,T-compiler,A-inference,C-bug,S-needs-repro
low
Critical
609,970,816
PowerToys
[Image Resizer] Add options for effects (e.g shadow)
# Summary of the new feature/enhancement One of my most common flows is to insert a screenshot into Outlook, Resize it (I no longer have to do this), and format it using the picture formatting options. (basic shadows, frames, etc.) # Proposed technical implementation details (optional) I'd like to see a feature added to PowerTools, either within the Image Resizer or somewhere else, that applies a consistent pre-selected format to an image. Example of a drop-shadow being applied to a resized image. ![image](https://user-images.githubusercontent.com/11729602/80714512-0aa40a80-8ac3-11ea-8edd-0949a58411f5.png)
Idea-Enhancement,Product-Image Resizer
low
Minor
610,002,455
go
x/pkgsite: packages with stopwords as their name don't show up in search results
### What is the URL of the page with the issue? https://pkg.go.dev/search?q=is ### What is your user agent? > `Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0` ### Screenshot <img width="420" alt="image" src="https://user-images.githubusercontent.com/216265/80716933-4391ae80-8ac6-11ea-8d80-1560a319b590.png"> ### What did you do? I searched for the package name, "is". ### What did you expect to see? I expected to see a link to this page: https://pkg.go.dev/github.com/matryer/is ### What did you see instead? A page with zero results.
NeedsInvestigation,pkgsite,pkgsite/search
low
Minor
610,089,188
flutter
merge separate flags to specify the vm service port for flutter run
We have two separate flags to specify the VM service port to serve debugger traffic on, depending on whether the device you're launching is a mobile device or a flutter web device: `--host-vmservice-port` for mobile devices and `--web-port` for web ones. This likely makes sense from the POV of the implementations, but less so from the POV of people invoking `flutter run`. I suggest that we merge the flags into one. Additionally, the name - `--host-vmservice-port` - could take some time for people to work out what it is. When we run a flutter web device, we print `Debug service listening on ...`. Perhaps rename the port flags to something like `--debug-port`? `--debugger-port`? `--debug-service-port`? (note that `--observatory-port` is the deprecated name for `--host-vmservice-port`)
tool,a: quality,c: proposal,P3,team-tool,triaged-tool
low
Critical
610,193,360
go
x/build: ensure there are accessible ways to test Go pre-release versions in common CI systems
The Go project and its users benefit from additional testing of pre-release versions of Go, because it leads to a stable release with fewer issues. When beta and release candidates are released, we encourage everyone to test them as much as possible and report issues that are uncovered. There are many CI systems that are in use today (Travis CI, Circle CI, GitHub Actions, and many more). Most of them have some level of support for testing Go code with various release versions of Go, but it's not clear whether pre-release versions are supported as well. We should ensure it's possible and easy for users to start testing against pre-release versions of Go, so that if someone is willing to do it, we can point them to an existing solution rather than hoping they'll invent it themselves. It is generally the responsibility of the CI solution itself to offer flexibility in the testing capabilities for its users, but perhaps there are things we can do on our side to help facilitate that. So, the work here is to check whether this is already possible and convenient for various CI systems. If not, we can see if it can and should be made better through changes on our side. The specifics will depend on the CI system and the tools it offers. It might involve coming up with scripts or configurations, taking advantage of the existing [`golang.org/dl/...`](https://pkg.go.dev/golang.org/dl) commands, modifying our existing API endpoints (see #34864, #36898), or something else. This is the tracking issue for that work. (This idea was suggested to me by @hyangah, and I was reminded about it when seeing @mvdan's https://github.com/golang/go/issues/36898#issuecomment-621915093.) /cc @golang/osp-team @rsc @mvdan @lyoness
Builders,NeedsInvestigation,DevExp,Community
low
Minor
610,218,744
rust
Closure signature hinting doesn't elaborate bounds.
This currently can't infer the type of `s` ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=8b6126d6c94df72ced9ac92ebb3f1871)): ```rust trait Foo: Fn(String) {} impl<F> Foo for F where F: Fn(String) {} fn hint(_: impl Foo) {} fn main() { hint(|s| {s.len();}); } ``` However, this works as expected when `hint` takes `impl Fn(String)` instead of `impl Foo`. If we were to elaborate the bounds of `hint`, we'd see `Fn(String)` even if `impl Foo` was used. cc @nikomatsakis
C-enhancement,A-closures,T-compiler,A-inference
low
Critical
610,221,698
pytorch
Unable to use torch.det() inside nn.DataParallel with multiple gpus
## 🐛 Bug Using `torch.det()` inside `nn.DataParallel` in a multi gpu environment (tested 4) is suffering from a race condition. If the execution is done sequentially, the error doesn't trigger. ## To Reproduce ```python import torch import torch.nn as nn from torch.utils.data import Dataset, DataLoader # Parameters and DataLoaders device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class RandomDataset(Dataset): def __init__(self, length): self.len = length self.data = torch.randn(length, 3, 3) def __getitem__(self, index): return self.data[index] def __len__(self): return self.len class Model(nn.Module): # Our model def forward(self, data): x = data + torch.eye(3, device=data.device) for _ in range(20): det = torch.det(x) x = det[:,None,None] * x.transpose(-2,-1) / det[:,None,None] print("\tIn Model: input size", data.size(), "output size", x.size()) return x model = Model() if torch.cuda.device_count() > 1: print("Let's use", torch.cuda.device_count(), "GPUs!") model = nn.DataParallel(model) model.to(device) while True: for data in DataLoader( dataset=RandomDataset(400000), batch_size=10000, shuffle=True, ): data = data.to(device) output = model(data) print("Outside: input size", data.size(), "output_size", output.size()) ``` <!-- If you have a code sample, error messages, stack traces, please provide it here as well --> Stack ``` $ python mvce.py Let's use 4 GPUs! In Model: input size torch.Size([2500, 3, 3]) output size torch.Size([2500, 3, 3]) In Model: input size torch.Size([2500, 3, 3]) output size torch.Size([2500, 3, 3]) In Model: input size torch.Size([2500, 3, 3]) output size torch.Size([2500, 3, 3]) In Model: input size torch.Size([2500, 3, 3]) output size torch.Size([2500, 3, 3]) Outside: input size torch.Size([10000, 3, 3]) output_size torch.Size([10000, 3, 3]) CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:944 CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:945 CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:946 CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:944 CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:945 CUDA runtime error: an illegal memory access was encountered (77) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:946 python: /opt/conda/conda-bld/magma-cuda92_1583546984698/work/interface_cuda/interface.cpp:901: void magma_queue_create_from_cuda_internal(magma_device_t, cudaStream_t, cublasHandle_t, cusparseHandle_t, magma_queue**, const char*, const char*, int): Assertion `queue->dCarray__ != __null' failed. Aborted ``` ## Expected behavior <!-- A clear and concise description of what you expected to happen. --> To be able to use `torch.det()` inside `nn.DataParallel` like any other linalg operation. ## Environment ``` PyTorch version: 1.5.0 Is debug build: No CUDA used to build PyTorch: 9.2 OS: Ubuntu 18.04.4 LTS GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 CMake version: version 3.10.2 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: 9.2.148 GPU models and configuration: GPU 0: Quadro RTX 5000 GPU 1: Quadro RTX 5000 GPU 2: Quadro RTX 5000 GPU 3: Quadro RTX 5000 Nvidia driver version: 440.82 cuDNN version: Probably one of the following: /<redacted>/cuda/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.6.0.21 /<redacted>/cuda/cuda-9.0/targets/x86_64-linux/lib/libcudnn.so.7.0.3 Versions of relevant libraries: [pip3] numpy==1.18.3 [pip3] torch-sparse==0.4.3 [pip3] torchfile==0.1.0 [pip3] torchvision==0.4.0+cu92 [conda] blas 1.0 mkl [conda] cudatoolkit 9.2 0 [conda] mkl 2020.0 166 [conda] mkl-service 2.3.0 py36he904b0f_0 [conda] mkl_fft 1.0.15 py36ha843d7b_0 [conda] mkl_random 1.1.0 py36hd6b4f25_0 [conda] numpy 1.18.1 py36h4f9e942_0 [conda] numpy-base 1.18.1 py36hde5b4d6_1 [conda] pytorch 1.5.0 py3.6_cuda9.2.148_cudnn7.6.3_0 pytorch [conda] torch-cluster 1.5.4 pypi_0 pypi [conda] torch-scatter 2.0.4 pypi_0 pypi [conda] torchsummary 1.5.1 pypi_0 pypi [conda] torchvision 0.6.0 py36_cu92 pytorch ``` ## Additional context N.a. cc @ngimel @vincentqb @vishwakftw @jianyuh
module: cuda,triaged,module: data parallel,module: linear algebra
low
Critical
610,242,594
rust
Use of tempfile for lib.def leads to non-reproducible PDBs
I've been working with a rust code base that we are trying to use a shared cache for (Bazel FWIW). As part of that I've been looking at truly bit-identical build outputs for a given set of inputs. There are plenty of problems with PDB files on Windows (which contain debug info) because they tend to encode absolute paths to the object files and other resources they were created from. I've managed to eliminate most of these by using deterministic build directories across all machines, and using tempdir's that are a hash of something unique. There is just one more bit that I can't control directly, which is this use of `tmpdir.join("lib.def")` https://github.com/rust-lang/rust/blob/0862458dad90a0d80827e22e3f86e33add6d847c/src/librustc_codegen_ssa/back/linker.rs#L720. This ends up putting a few random characters in the path that throws off the PDB. I'm not entirely sure what a good solution will look like. I'm not familiar enough with compiler internals to know if some deterministic location based on some unique values can be used, or alternatively if this can be exposed as a compiler option. I tried this code: I can't share our internal code, but build something like serde_derive on windows and look for the proc macro dll. there should be a pdb next to it. Next, you'll want to use `ducible` https://github.com/jasonwhite/ducible/ to remove a few other sources of non-determinism like timestamps. ``` ducible <dll> <pdb> ``` I expected to see this happen: Each clean build results in the same DLL and PDB (sha256 or similar). Instead, this happened: the DLL is identical but the PDBs are not. Use something like https://www.cjmweb.net/vbindiff/ to spot the differences and the only one i noticed was this path to lib.def. ### Meta (also exists in latest master based on code inspection). `rustc --version --verbose`: ``` rustc 1.42.0-nightly (212b2c7da 2020-01-30) binary: rustc commit-hash: 212b2c7da87f3086af535b33a9ca6b5242f2d5a7 commit-date: 2020-01-30 host: i686-pc-windows-msvc release: 1.42.0-nightly LLVM version: 9.0 ```
A-debuginfo,P-medium,T-compiler,O-windows-msvc,C-bug,A-reproducibility
low
Critical
610,251,958
pytorch
test_qnnpack_sigmoid failing on old CPU, built pytorch 1.5.0
## 🐛 Bug Built from 1.5.0 source, tests fail with SIGILL illegal instruction on `test_type_conversions (__main__.TestAutograd)`. Import works. With same system/hardware, it works on 1.4.1. Valgrind: ``` ==1765222== F...vex amd64->IR: unhandled instruction bytes: 0xC5 0xF1 0x57 0xC9 0x4D 0x1 0xEE 0x89 0xC0 0x49 vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 ==1765222== valgrind: Unrecognised instruction at address 0x9a5df6f. ==1765222== at 0x9A5DF6F: void c10::function_ref<void (char**, long const*, long)>::callback_fn<void at::native::(anonymous namespace)::cpu_serial_kernel<void at::native::templates::cpu::random_from_to_kernel<at::CPUGenerator>(at::TensorIterator&, unsigned long, long, at::CPUGenerator*)::{lambda()#1}::operator()() const::{lambda()#3}::operator()() const::{lambda()#2}>(at::TensorIterator&, void at::native::templates::cpu::random_from_to_kernel<at::CPUGenerator>(at::TensorIterator&, unsigned long, long, at::CPUGenerator*)::{lambda()#1}::operator()() const::{lambda()#3}::operator()() const::{lambda()#2}&&)::{lambda(char**, long const*, long)#1}>(long, char**, long const*, long) (in /home/samuel/.local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so) ==1765222== by 0x9544463: void c10::function_ref<void (char**, long const*, long, long)>::callback_fn<at::TensorIterator::serial_for_each(c10::function_ref<void (char**, long const*, long)>, at::Range) const::{lambda(char**, long const*, long, long)#1}>(long, char**, long const*,long, long) (in /home/samuel/.local/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so) ``` gdb disas: ``` Dump of assembler code for function _ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_EUlS2_S4_lE_EEvlS2_S4_l: 0x00007ffff158ded0 <+0>:↹····push %r15 0x00007ffff158ded2 <+2>:↹····push %r14 0x00007ffff158ded4 <+4>:↹····push %r13 0x00007ffff158ded6 <+6>:↹····push %r12 0x00007ffff158ded8 <+8>:↹····mov %rcx,%r12 0x00007ffff158dedb <+11>:↹···push %rbp 0x00007ffff158dedc <+12>:↹···mov %rsi,%rbp 0x00007ffff158dedf <+15>:↹···push %rbx 0x00007ffff158dee0 <+16>:↹···sub $0x18,%rsp 0x00007ffff158dee4 <+20>:↹···mov (%rdx),%r15 0x00007ffff158dee7 <+23>:↹···mov (%rdi),%rbx 0x00007ffff158deea <+26>:↹···cmp $0x8,%r15 0x00007ffff158deee <+30>:↹···je 0x7ffff158df50 <_ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_EUlS2_S4_lE_EEvlS2_S4_l+128> 0x00007ffff158def0 <+32>:↹···test %rcx,%rcx 0x00007ffff158def3 <+35>:↹···jle 0x7ffff158df3e <_ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_EUlS2_S4_lE_EEvlS2_S4_l+110> 0x00007ffff158def5 <+37>:↹···xor %r14d,%r14d 0x00007ffff158def8 <+40>:↹···xor %r13d,%r13d 0x00007ffff158defb <+43>:↹···nopl 0x0(%rax,%rax,1) 0x00007ffff158df00 <+48>:↹···mov 0x0(%rbp),%rcx 0x00007ffff158df04 <+52>:↹···mov 0x10(%rbx),%rdi 0x00007ffff158df08 <+56>:↹···add $0x1,%r13 0x00007ffff158df0c <+60>:↹···add %r14,%rcx 0x00007ffff158df0f <+63>:↹···add %r15,%r14 0x00007ffff158df12 <+66>:↹···mov %rcx,0x8(%rsp) 0x00007ffff158df17 <+71>:↹···callq 0x7ffff02f1130 <_ZN2at12CPUGenerator6randomEv@plt> 0x00007ffff158df1c <+76>:↹···xor %edx,%edx 0x00007ffff158df1e <+78>:↹···vxorpd %xmm2,%xmm2,%xmm2 0x00007ffff158df22 <+82>:↹···mov 0x8(%rsp),%rcx 0x00007ffff158df27 <+87>:↹···mov %eax,%eax 0x00007ffff158df29 <+89>:↹···divq (%rbx) 0x00007ffff158df2c <+92>:↹···add 0x8(%rbx),%rdx 0x00007ffff158df30 <+96>:↹···vcvtsi2sd %rdx,%xmm2,%xmm0 0x00007ffff158df35 <+101>:↹··vmovsd %xmm0,(%rcx) 0x00007ffff158df39 <+105>:↹··cmp %r13,%r12 0x00007ffff158df3c <+108>:↹··jne 0x7ffff158df00 <_ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_EUlS2_S4_lE_EEvlS2_S4_l+48> 0x00007ffff158df3e <+110>:↹··add $0x18,%rsp 0x00007ffff158df42 <+114>:↹··pop %rbx 0x00007ffff158df43 <+115>:↹··pop %rbp 0x00007ffff158df44 <+116>:↹··pop %r12 0x00007ffff158df46 <+118>:↹··pop %r13 0x00007ffff158df48 <+120>:↹··pop %r14 0x00007ffff158df4a <+122>:↹··pop %r15 0x00007ffff158df4c <+124>:↹··retq 0x00007ffff158df4d <+125>:↹··nopl (%rax) 0x00007ffff158df50 <+128>:↹··test %rcx,%rcx 0x00007ffff158df53 <+131>:↹··jle 0x7ffff158df3e <_ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_EUlS2_S4_lE_EEvlS2_S4_l+110> 0x00007ffff158df55 <+133>:↹··shl $0x3,%r12 0x00007ffff158df59 <+137>:↹··xor %r13d,%r13d 0x00007ffff158df5c <+140>:↹··nopl 0x0(%rax) 0x00007ffff158df60 <+144>:↹··mov 0x10(%rbx),%rdi 0x00007ffff158df64 <+148>:↹··mov 0x0(%rbp),%r14 0x00007ffff158df68 <+152>:↹··callq 0x7ffff02f1130 <_ZN2at12CPUGenerator6randomEv@plt> 0x00007ffff158df6d <+157>:↹··xor %edx,%edx => 0x00007ffff158df6f <+159>:↹··vxorpd %xmm1,%xmm1,%xmm1 0x00007ffff158df73 <+163>:↹··add %r13,%r14 0x00007ffff158df76 <+166>:↹··mov %eax,%eax 0x00007ffff158df78 <+168>:↹··add $0x8,%r13 0x00007ffff158df7c <+172>:↹··divq (%rbx) 0x00007ffff158df7f <+175>:↹··add 0x8(%rbx),%rdx 0x00007ffff158df83 <+179>:↹··vcvtsi2sd %rdx,%xmm1,%xmm0 0x00007ffff158df88 <+184>:↹··vmovsd %xmm0,(%r14) 0x00007ffff158df8d <+189>:↹··cmp %r12,%r13 0x00007ffff158df90 <+192>:↹··jne 0x7ffff158df60 <_ZN3c1012function_refIFvPPcPKllEE11callback_fnIZN2at6native12_GLOBAL__N_117cpu_serial_kernelIZZZNS9_9templates3cpu21random_from_to_kernelINS8_12CPUGeneratorEEEvRNS8_14TensorIteratorEmlPT_ENKUlvE_clEvENKUlvE1_clEvEUlvE0_EEvSH_OSI_--Type <RET> for more, q to quit, c to continue without paging--c EUlS2_S4_lE_EEvlS2_S4_l+144> 0x00007ffff158df92 <+194>:↹··add $0x18,%rsp 0x00007ffff158df96 <+198>:↹··pop %rbx 0x00007ffff158df97 <+199>:↹··pop %rbp 0x00007ffff158df98 <+200>:↹··pop %r12 0x00007ffff158df9a <+202>:↹··pop %r13 0x00007ffff158df9c <+204>:↹··pop %r14 0x00007ffff158df9e <+206>:↹··pop %r15 0x00007ffff158dfa0 <+208>:↹··retq End of assembler dump. ``` ## To Reproduce Steps to reproduce the behavior: 1. compile pytorch 1.5.0 2. python test/test_autograd.py --verbose ## Expected behavior Tests pass. ## Environment - PyTorch Version (e.g., 1.0): 1.5.0 - OS (e.g., Linux): Archlinux, kernel 5.6.8-arch1-1 - How you installed PyTorch (`conda`, `pip`, source): source - Build command you used (if compiling from source): python setup.py build - Python version: 3.8.2 - CUDA/cuDNN version: None - GPU models and configuration: Not built with GPU support - Any other relevant information: + old cpu : intel i7 970 + use openblas (compiled from source) ## Additional context - Same error, different error location (first test), with another build (build with ROCm=ON) on Archlinux, same hardware - Same error, different error location (in the middle of autograd) when compiled on Ubuntu 18.04 in docker (ROCm=ON), same hardware When I build on v1.4.1, it works as expected on archlinux and ubuntu. cc @ezyang @seemethere @malfet
module: binaries,module: build,triaged
low
Critical
610,252,968
youtube-dl
JohnMaxwellAcademy.com
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.03.24** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> - Single video: https://www.johnmaxwellacademy.com/products/15-laws-of-growth/categories/741206/posts/2418867 - Playlist: https://www.johnmaxwellacademy.com/products/15-laws-of-growth ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> You need an account, and it's free to get one, at least for the next 7 days. all they need is for you to create a username and password. I created an account with a fake email address and it works with a fake email address. (You don't need to click the link in the email to watch the videos on the browser)
site-support-request
low
Critical
610,275,557
storybook
Allow for path based routes instead of query param based routes
**Is your feature request related to a problem? Please describe.** I understand why the default router uses `?path=/foo` in order to handle routing, I think this allows storybook to work in the most places without a hassle. However, it's not necessarily the most usable/aesthetic way to do routing. I'd love storybook to either support real routes, or routing hooks to allow me to implement this myself. **Describe the solution you'd like** In the routing implementation now, routes are built by generating a path as `${currentLocation}?path=/some/path/here` and then calling `replaceState` with this new path. ### Solution 1 We can have a configuration option along the lines of `"routeRewritingSupported": Boolean` (which defaults to false). We can document an nginx rewrite to support this setup. We'd also need to inject a `<base href=…>` in order to support loading of the static files (and or use a static file path prefix). ### Solution 2 We can expose hooks into the routing functions in order to replace them with any implementation you'd like. This would make implementing real paths a little more difficult, but would allow for additional remixes on urls for other purposes. I'd essentially implement Solution 1 using Solution 2 if we went that route (pun intended). **Describe alternatives you've considered** I could just not care about routes as much, which is fair, but it seems good for a docs site. **Are you able to assist bring the feature to reality?** I could implement this if folks agreed that it should exist. **Additional context** The nginx config for this rewrite stuff in my playground atm looks like: ``` location / { # root rewrite ^/$ /index.html break; # paths (things that dont have dots) rewrite ^/([^\.]+)$ /index.html?path=$1 break; # probably not necessary to expose the path but whatever # static files rewrite ^/(.*)$ /$1 break; } ```
feature request,core
low
Major
610,308,385
angular
NgFor, NgForOf (DefaultIterableDiffer + IterableChangeRecord) can leak memory
# 🐞 bug report ### Affected Package <!-- Can you pin-point one or more @angular/* packages as the source of the bug? --> <!-- ✍️edit: --> The issue is caused by package @angular/common ### Is this a regression? <!-- Did this behavior use to work in the previous version? --> <!-- ✍️--> No. I think this has been an issue for a long time. ### Description See this simple [ng-run demo](https://ng-run.com/edit/RrVTKa66CWbkDTbi5ofB). The code is basically just this: ```ts @Component({ //... }) export class AppComponent { testClassInstances = [new TestClass(), new TestClass()]; deleteLast(){ this.testClassInstances.pop(); } } var count = 0; class TestClass { id = ++count; } ``` and the HTML template being: ```html <button (click)="deleteLast()">deleteLast</button> <p *ngFor="let test of testClassInstances"> {{test.id}} </p> ``` So two `TestClass` instances are being created and clicking the "delete Last" button pops the last one off. Important to note is that once it is popped off, there are no more user variables holding a reference to this class instance, meaning it should be garbage collected. Click the "delete Last" button once. `ngFor` picks up the change and no longer displays the second `TestClass` id, as expected. Now, take a memory heap snapshot of `ng-run-preview.firebaseapp.com` and search for `TestClass`. ![image](https://user-images.githubusercontent.com/23387905/80746519-03472600-8af0-11ea-8728-d8a6bfb568a2.png) Two instances still in memory = memory leak = not good. Looking at the object reference tree clearly indicates a reference to this object still being held in an `IterableChangeRecord` inside the `DefaultIterableDiffer`. ***Problem*** In the [NgForOf directive](https://github.com/angular/angular/blob/master/packages/common/src/directives/ng_for_of.ts#L204)... ```ts ngDoCheck(): void { //... if (this._differ) { const changes = this._differ.diff(this._ngForOf); if (changes) this._applyChanges(changes); } } ``` ...changes are calculated and then "applied". Calling `this._differ.diff()` mutates the `this._differ` object with the changes. The problem is that these changes are not being cleared after they are calculated and used (applied). There is a `_reset()` method (called basically immediately during `this._differ.diff()`) on the `DefaultIterableDiffer` class that is stated in comments to _"Reset the state of the change objects to show no changes"_...but this comment is somewhat misleading because it doesn't actually clear out all the changes. Changing the above snippet to... ```ts ngDoCheck(): void { //... if (this._differ) { const changes = this._differ.diff(this._ngForOf); if (changes) { this._applyChanges(changes); this._differ._reset(); // <--- NEW } } } ``` ...and running the exact same test as above results in the following heap snapshot: ![image](https://user-images.githubusercontent.com/23387905/80746906-9c763c80-8af0-11ea-9e4f-dc1b512037f5.png) Still a memory leak, and the object is being referenced in the `_nextAdded` property of the `IterableChangeRecord` item corresponding to the first `TestClass` instance. In order to fix this memory leak, something like the following needs to be added: ```ts ngDoCheck(): void { //... if (this._differ) { const changes = this._differ.diff(this._ngForOf); if (changes) { this._applyChanges(changes); this._differ._reset(); // <--- NEW } // <-- NEW --> this._differ.forEachItem((item: IterableChangeRecord<any>) => { item._nextAdded = null; item._nextMoved = null; item._nextIdentityChange = null; }); } } ``` Resulting heap snapshot of the same test with these new changes: ![image](https://user-images.githubusercontent.com/23387905/80747065-d6474300-8af0-11ea-9de7-88581510373c.png) One instance in memory, which is expected behavior. These changes can be tested in the above linked demo. Just change `*ngFor` to `*ngForr` (two 'r') in the HTML template and reload the preview pane. (Note: The code snippets above cause TypeScript compiler errors, but we're ignoring that) ***Solution*** I'm not intimately familiar with these data structures, but I feel like the following changes should occur: 1) `_reset()` should additionally ensure that every record item's `_nextAdded`, `_nextMoved`, `_nextIdentityChange`, etc. properties are set to null. 2) `_reset()` be made public (I guess part of the `IterableDiffer<T>` interface). 3) Any code interacting with IterableDiffers should call this reset method after diffing and inspecting/acting on the changes. Similar to the ` this._differ._reset(); // <--- NEW` line in the above snippets. The example in this issue post specifically references the `NgFor` directive, but the same problem is also apparent in the `NgClass` directive (and maybe `NgStyle`? - I haven't looked into the `KeyValueDiffer` to see if a similar problem exists). ## 🌍 Your Environment **Angular Version:** 9.1.4 and earlier
type: bug/fix,memory leak,area: core,state: confirmed,core: differs,P3
medium
Critical
610,310,748
go
hash, crypto: add WriteByte, WriteString method to hash implementations
This proposal was initially for embedding io.ByteWriter in hash.Hash, or adding a WriteByte() method with the same signature. This method is already added in the new maphash.Hash. Adding it elsewhere will extend the benefits in performance and usability to the other Hash implementations. Per feedback of @ianlancetaylor below, I'm instead proposing the addition `WriteByte()` from io.ByteWriter to the standard library hash.Hash implementations, including: adler32 crc32 crc64 fnv
Proposal,Proposal-Accepted
medium
Major
610,310,869
pytorch
NCCL fails to find cuda include dir
My cuda install is fragmented and not in one folder like its typically installed. I am trying to pass env variables for cuda include and it seems to work, but the makestep for NCCL does not pass in this variable. Just the general "Root" dir. This CUDA include dir needs to make its way down into NCCL, the build fails because it cannot find the cuda_runtime.h which is there Pytorch v1.3.0 cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar
oncall: distributed,triaged,module: nccl
low
Minor
610,316,303
go
cmd/go: add -debug flag (default true) to control DWARF/etc info in binary
Many gophers know that they can strip DWARF from their binaries with `-ldflags=-w`. But this is fairly cryptic, and it doesn't give the compiler the opportunity to save time and space by not generating that DWARF in the first place. I propose we add support directly to cmd/go to say `-debug=false` or `-dwarf=false` or the like. Then cmd/go would translate that into the appropriate compiler and linker flags.
Proposal,Proposal-Accepted
medium
Critical
610,333,217
material-ui
[Checkbox] You can click through an overlay to check a checkbox
Paper component (elevation=1) accepts clicks from UI elements underneath. I have the following code: ``` <Popper> <Paper> <ClickAwayListener> // some stuff here </ClickAwayListener> </Paper> </Popper> ``` Any elements (buttons, checkboxes, etc) that sit below the popper / paper component above, accept click events. The component should block any click events from flowing to components underneath it. | Tech | Version | | ----------- | ------- | | Material-UI | v4.9.9 | | React | v16.8.0 | | Browser | Chrome | | TypeScript | | | etc. | |
bug 🐛,on hold,component: checkbox
medium
Critical
610,401,713
rust
Missing symbols with thin LTO on x86_64-pc-windows-msvc
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried this code: ```rust use aho_corasick::AhoCorasick; use std::os::raw::c_void; use std::slice; #[no_mangle] pub unsafe extern "C" fn foobar(input: *const [u8; 1], len: usize) -> *mut c_void { let input = slice::from_raw_parts(input, len); Box::into_raw(Box::new(AhoCorasick::new_auto_configured(input))) as *mut c_void } ``` with this `Cargo.toml` file: ```toml [package] name = "msvc-lto-thin-bug" version = "0.1.0" authors = ["John Gallagher <[email protected]>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["staticlib"] [dependencies] aho-corasick = "0.7.6" [profile.release] lto = "thin" ``` I compiled this (successfully) with `cargo build --release`, which produced `target/release/msvc_lto_thin_bug.lib`. I then tried to compile this C program (`foobar.c`): ```c #include <stdint.h> #include <stdlib.h> extern void *foobar(uint8_t *input, size_t len); int main() { foobar(NULL, 0); return 0; } ``` via: ``` cl /EHsc foobar.c /link /LIBPATH:"target\\release" msvc_lto_thin_bug.lib ``` I expected to see this happen: The program linked (although it obviously wouldn't do anything useful). Instead, this happened: ``` Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27032.1 for x64 Copyright (C) Microsoft Corporation. All rights reserved. foobar.c Microsoft (R) Incremental Linker Version 14.16.27032.1 Copyright (C) Microsoft Corporation. All rights reserved. /out:foobar.exe /LIBPATH:target\\release msvc_lto_thin_bug.lib foobar.obj msvc_lto_thin_bug.lib(msvc_lto_thin_bug-71de79c7a20eef0b.aho_corasick.ca16895p-cgu.4.rcgu.o) : error LNK2019: unresolved external symbol __imp__ZN6memchr3x866memchr2FN17heb3e0819c48b999aE referenced in function _ZN92_$LT$aho_corasick..prefilter..RareBytesOne$u20$as$u20$aho_corasick..prefilter..Prefilter$GT$14next_candidate17h4213f95a13c94717E msvc_lto_thin_bug.lib(msvc_lto_thin_bug-71de79c7a20eef0b.aho_corasick.ca16895p-cgu.4.rcgu.o) : error LNK2019: unresolved external symbol __imp__ZN6memchr3x867memchr22FN17h6467cf846ba6072fE referenced in function _ZN92_$LT$aho_corasick..prefilter..RareBytesTwo$u20$as$u20$aho_corasick..prefilter..Prefilter$GT$14next_candidate17h6c996abec2b916acE msvc_lto_thin_bug.lib(msvc_lto_thin_bug-71de79c7a20eef0b.aho_corasick.ca16895p-cgu.4.rcgu.o) : error LNK2019: unresolved external symbol __imp__ZN6memchr3x867memchr32FN17he9d22c893759d6a0E referenced in function _ZN94_$LT$aho_corasick..prefilter..RareBytesThree$u20$as$u20$aho_corasick..prefilter..Prefilter$GT$14next_candidate17hb5e69dcd42a14727E foobar.exe : fatal error LNK1120: 3 unresolved externals ``` ### Meta I have _no_ idea what I'm doing on Windows; this is a reproducer from investigating a Windows build problem on a project I primarily develop on Mac/Linux (neither of which exhibit any problems with the above example). The missing symbol demangles to `__imp_memchr::x86::memchr3::FN::...`, which I believe is an always inlined function in the `memchr` crate? <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.43.0 (4fb7144ed 2020-04-20) binary: rustc commit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550 commit-date: 2020-04-20 host: x86_64-pc-windows-msvc release: 1.43.0 LLVM version: 9.0 ``` I tried the current (2020-04-29) nightly and got the same results. </p> </details>
A-linkage,O-windows,T-compiler,O-windows-msvc,C-bug
low
Critical
610,408,305
terminal
Fullscreen: enable revealing the tabs by hovering at the top of the screen
Hello, This terminal is excellent and I would like to propose a suggeestion. In full screen mode there doesn't seem to be a way to switch or add tabs easily. Perhaps mouse movement could popout from the edge of the screen the tabs and a way to switch between them. I ultimately would just like to leave this up fullscreen on one of my monitors.
Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task
low
Major
610,433,802
rust
Error handling of non references when expecting a references (borrow)
This is in mostly a re-post of https://github.com/diesel-rs/diesel/issues/2380 I tried this code: I used the code from: https://docs.diesel.rs/diesel/associations/index.html ```rust use schema::{posts, users}; #[derive(Identifiable, Queryable, PartialEq, Debug)] #[table_name = "users"] pub struct User { id: i32, name: String, } #[derive(Identifiable, Queryable, Associations, PartialEq, Debug)] #[belongs_to(User)] #[table_name = "posts"] pub struct Post { id: i32, user_id: i32, title: String, } let user = users.find(2).get_result::<User>(&connection)?; let users_post = Post::belonging_to(&user) .first(&connection)?; let expected = Post { id: 3, user_id: 2, title: "My first post too".into() }; assert_eq!(expected, users_post); ``` This code works, as it should. But when changing the line from: ``` let users_post = Post::belonging_to(&user) ``` to (the `&` is removed ) ``` let users_post = Post::belonging_to(user) ``` The compiler gives an error that is very hard to figure out: ``` error[E0277]: the trait bound `Post: diesel::BelongingToDsl<User>` is not satisfied --> src/main.rs:30:29 | 30 | let _users_post: Post = Post::belonging_to(user) | ^^^^^^^^^^^^^^^^^^ the trait `diesel::BelongingToDsl<User>` is not implemented for `Post` | = note: required by `diesel::BelongingToDsl::belonging_to` error: aborting due to previous error ``` This error is not so useful. An error like this could be **much** more helpful: (the error below is handcrafted from other errors) ``` error[E0308]: mismatched types --> src/main.rs:30:48 | 30 | let _users_post: Post = Post::belonging_to(user) | ^^^^ | | | expected reference, found struct `User` | help: consider borrowing here: `&user` | = note: expected reference `&_` found struct `User` error: aborting due to previous error ``` Giving better errors would real help here. I think this might have something to do with many layers of generic data types. But I am not sure at all. I was unable to reproduce this with shorter code. ### Meta Sorry but don't want to try this under nightly. (Already spending to much time on this error) `rustc --version --verbose`: ``` rustc 1.43.0 (4fb7144ed 2020-04-20) binary: rustc commit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550 commit-date: 2020-04-20 host: x86_64-unknown-linux-gnu release: 1.43.0 LLVM version: 9.0 ```
C-enhancement,A-diagnostics,T-compiler,E-needs-mcve
low
Critical
610,439,060
rust
Async function leads to a "more general type" error
Rustc complains about a type being more general than the other when testing if the `Future` returned by an `async` function is `Send`. The same code without `async` sugar is accepted by the compiler. This might be related to #60658. I tried to minimize further, but removing `.flatten()`, the boxing with a trait object or even the mapping to an empty stream makes the code compile. [Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=e390e86879b7d131ad619292c2c429e5) ```rust use futures::{ future::ready, stream::{empty, iter}, Stream, StreamExt, }; use std::future::Future; use std::pin::Pin; fn is_send<T: Send>(_: T) {} pub fn test() { let _ = is_send(make_future()); // Ok let _ = is_send(make_future_2()); } fn make_future() -> impl Future<Output = ()> { iter(Some({ let s = empty::<()>(); Box::pin(s) as Pin<Box<dyn Stream<Item = ()> + Send + 'static>> })) .map(|_| empty::<()>()) .flatten() .for_each(|_| ready(())) } // Same as make_future, just async async fn make_future_2() { iter(Some({ let s = empty::<()>(); Box::pin(s) as Pin<Box<dyn Stream<Item = ()> + Send + 'static>> })) .map(|_| empty::<()>()) .flatten() .for_each(|_| ready(())) .await } ``` ### Expected result It compiles successfully -- `is_send(make_future())` and `is_send(make_future_2())` are both accepted by the compiler. ### Actual result `is_send(make_future_2())` is rejected with the following error: ``` error[E0308]: mismatched types --> src/lib.rs:13:13 | 13 | let _ = is_send(make_future_2()); | ^^^^^^^ one type is more general than the other | = note: expected type `std::ops::FnOnce<(std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = ()> + std::marker::Send>>,)>` found type `std::ops::FnOnce<(std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = ()> + std::marker::Send>>,)>` ``` <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"nikomatsakis"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
A-type-system,T-compiler,C-bug,A-async-await,AsyncAwait-Triaged,T-types
medium
Critical
610,453,903
pytorch
logging_is_not_google_glog.h:24:11: error: 'const int ERROR' redeclared as different kind of symbol (v1.3.0)
I have a file in my large project using ERROR as a constant already globally so i cannot change that variable as its used in many places. When i try to build i get an error from the linker because it finds both variables, whats the best way to edit "logging_is_not_google_glog.h" without breaking anything else? Anyway i could remove it entirely? cc @malfet
module: build,triaged
low
Critical
610,464,423
rust
Missed optimization: locally constructed arrays are not promoted to constants
To reproduce, look at the optimized code for the following program ([godbolt](https://godbolt.org/z/ENtCaE)): ```rust pub fn f(x: usize) -> i32 { const T: [i32; 6] = [4, 8, 15, 16, 23, 42]; T[x] } pub fn f2(x: usize) -> i32 { [4, 8, 15, 16, 23, 42][x] } ``` ### Expected result The array should be placed in the constants section because it's always the same and is not mutable. These functions should generate the same code. ### Actual result ```asm ; good example::f: push rax cmp rdi, 5 ja .LBB0_2 ; panic lea rax, [rip + .L__unnamed_1] mov eax, dword ptr [rax + 4*rdi] pop rcx ret ; bad, the array is placed on the stack example::f2: sub rsp, 24 movaps xmm0, xmmword ptr [rip + .LCPI1_0] movups xmmword ptr [rsp], xmm0 movabs rax, 180388626455 mov qword ptr [rsp + 16], rax cmp rdi, 5 ja .LBB1_2 ; panic mov eax, dword ptr [rsp + 4*rdi] add rsp, 24 ret ``` ### Meta This reproduces both on godbolt and locally. `rustc --version --verbose`: ``` rustc 1.45.0-nightly (fa51f810e 2020-04-29) binary: rustc commit-hash: fa51f810e5b9254904b92660e7280b7d6a46f112 commit-date: 2020-04-29 host: x86_64-pc-windows-msvc release: 1.45.0-nightly LLVM version: 9.0 ```
A-LLVM,I-slow,C-enhancement,A-codegen,T-compiler,C-optimization
low
Minor
610,467,230
godot
3D CollisionObject: input signals not emitted when the tree is paused
**Godot version:** 3.2.1 mono **OS/device including version:** MXLinux19 64bits **Issue description:** When the tree is paused collision objects don't receive input events. **Minimal reproduction project:** [PauseAndInputProblem.zip](https://github.com/godotengine/godot/files/4561925/PauseAndInputProblem.zip)
documentation,topic:physics
low
Minor
610,483,481
PowerToys
[Run] Search for folders should display shallow folders first
# Summary of the new feature/enhancement Whenever a folder is searched in the launcher, the results are displayed in a seemingly random order. For example, searching Appdata shows me a list like: C:\Users\alias\some_path\AppData . . C:\Users\alias\Appdata I would like the search to return shallow matching results first, since these are likely the ones that I am looking for. # Proposed technical implementation details (optional) In the above example, I would like the search to show C:\Users\alias\Appdata above the other options.
Idea-Enhancement,Product-PowerToys Run,Cost-Small,Run-Results (Indexer)
low
Minor
610,484,876
terminal
Consider whether we need to support "bold foreground" (like gnome-terminal) as a separate color
Many terminals _optionally_ treat `\e[1;39m` as a separate color. gnome-terminal has a toggleable "bold foreground" option: ![image](https://user-images.githubusercontent.com/14316954/80772234-e3712b80-8b0a-11ea-99fa-cf96aaf3c7e0.png) When it's set, `1;39` is different from `39`. ![image](https://user-images.githubusercontent.com/14316954/80772220-dce2b400-8b0a-11ea-8752-11a98cd72747.png)
Product-Conhost,Area-VT,Product-Terminal,Issue-Task
medium
Major
610,497,159
rust
Implement `signum()` on unsigned integers
This can be quite useful when writing macros that are generic over any integer. For example, I just tried writing this code (bar is any of i8, i16, i32, u8, u16, u32 via a macro) ```rust match (foo.signum(), bar.signum()) { (1, 1) | (-1, -1) => max, (-1, 1) | (1, -1) => min, _ => zero, } ``` But because `u*::signum` isn't implemented, I had to resort to something far more verbose: ```rust if foo > 0 { if bar > 0 { max } else if bar < 0 { min } else { zero } } else if foo < 0 { if bar > 0 { min } else if bar < 0 { max } else { zero } } else { zero } ``` This can be simplified a bit, but at the expense of performing the operations more than once. This might be optimized away, though. ```rust if (foo > 0 && bar > 0) || (foo < 0 && bar < 0) { max } else if (foo > 0 && bar < 0) || (foo < 0 && bar > 0) { min } else { zero } ``` To allow for the first example to compile (along with the rest of the code, of course), I'd think having `u32::signum` return `i32` would make sense, despite returning `-1` being impossible. I definitely think using `signum` makes things clearer and more readable. If this is something that is desired, I can submit a PR.
T-libs-api,C-feature-request
low
Minor
610,518,856
go
cmd/compile: binaries contain many ..type.eq funcs
We have a meta bug for binary size (#6853), but as one specific item: Go binaries contain many ..type.eq funcs to support == on types at runtime. The compiler & linker could probably omit provably unneeded ones. Or even do some with slower reflect if they're large & unlikely to be needed at runtime. Background: * https://twitter.com/bradfitz/status/1255704982893912064, * https://go-review.googlesource.com/c/go/+/231118 (http) * https://go-review.googlesource.com/c/net/+/231119 (http2) * https://go-review.googlesource.com/c/go/+/231239 (runtime)
NeedsInvestigation,binary-size,compiler/runtime
low
Critical
610,537,343
godot
set_script() fails if target node has no parent or if node is root sometimes
**Godot version:** v3.2.1.stable.official **OS/device including version:** Windows 10 Home, version 1903, build 18362.778 **Issue description:** ```set_script()``` doesn't work if it's **(1)** called on a node that has been added as a child in a script or if it's **(2)** being called on the root node by a child (created in a script) of the root node. I haven't tested the second part on anything except for the root node, so it might be a broader issue. I've also only tested with a Spatial root node and a Node child node. The first of these problems has a workaround: just add the child after setting the script. The second problem seems to happen as long as the child node was created a script (or at least the root/parent node's initial script), so there's no workaround that I'm aware of. **Steps to reproduce:** <details> <summary><b>(1)</b> Calling set_script() on a Node That Has Been Added as a Child:</summary> <p> &emsp;<b>1.</b> Add a Spatial root node and give it a script<br/> &emsp;<b>2.</b> In the script's _ready(), create a new Node, add it as a child of the Spatial node, and set the new Node's script to the second script (we will write it in the next step) (make sure everything happens in that order)<br/> &emsp;<b>3.</b> In the second script's _ready(), print something out to see if it ran </p> </details> <details> <summary><b>(2)</b> Calling set_script() on the Root Node in the Script of a Node Created by a Script:</summary> <p> The same first 2 steps except, in the second step, the new Node is added as a child after the script is set:<br/> &emsp;<b>1.</b> Add a Spatial root node and give it a script<br/> &emsp;<b>2.</b> In the script's _ready(), create a new Node, set the new Node's script to the second script (we will write it in the next step), and add it as a child of the Spatial node (make sure everything happens in that order)<br/> &emsp;<b>3.</b> In the second script's _ready(), print something out to see if it ran, get the parent node (this will return the original Spatial node) and set its script to the third script:<br/> &emsp;<b>4.</b> In the third script's _ready(), print something out to see if it ran </p> </details> **Minimal reproduction project:** Each example has its own scene. I've included two working examples to show that the first problem doesn't occur when the new Node is added as a child after the script is set and that the second problem doesn't occur when the new Node is added in the editor as opposed to being added by a script. [set_script() Issue Examples.zip](https://github.com/godotengine/godot/files/4562384/set_script.Issue.Examples.zip)
bug,topic:gdscript
low
Major
610,542,142
go
reflect: can't call methods on StructOf with embedded interface field
### What version of Go are you using (`go version`)? <pre> $ go version go version devel +4c78d54fdd Thu Apr 30 22:06:07 2020 +0000 darwin/amd64 Same behavior with: $ go version go version go1.14.2 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/mitchellh/Library/Caches/go-build" GOENV="/Users/mitchellh/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="github.com/mitchellh,github.com/hashicorp" GONOSUMDB="github.com/mitchellh,github.com/hashicorp" GOOS="darwin" GOPATH="/Users/mitchellh/code/go" GOPRIVATE="github.com/mitchellh,github.com/hashicorp" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/go/1.14.2_1/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/xj/vc6mm2px1x5745hbvfpxkx5h0000gn/T/go-build768892661=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? Use `reflect.StructOf` with one field with an embedded interface and then attempt to call a method on that interface (with a non-nil value set). https://play.golang.org/p/GwTyV_AFWv6 Note that using an embedded struct (not an interface) works fine: https://play.golang.org/p/jVFT3pcw7ia ### What did you expect to see? The function to be called and the result shown: "42". Or, if this isn't supported, a panic probably. ### What did you see instead? A segfault.
NeedsInvestigation,compiler/runtime
low
Critical
610,602,171
create-react-app
Failed to load plugin '@typescript-eslint' declared in '.eslintrc » eslint-config-react-app#overrides[0]': Cannot find module 'typescript'
### Describe the bug When I run `eslint: lint whole folder` task, it fails because of the error mentioned in the title. ### Did you try recovering your dependencies? Yes, I did. ### Which terms did you search for in User Guide? The issue is not related to any of them, it's ESLint. ### Environment ``` Environment Info: current version of create-react-app: 3.4.1 running from C:\Users\X\AppData\Roaming\npm\node_modules\create-react-app System: OS: Windows 10 10.0.18363 CPU: (8) x64 Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz Binaries: Node: 12.10.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Users\X\AppData\Roaming\npm\yarn.CMD npm: 6.14.4 - C:\Users\X\AppData\Roaming\npm\npm.CMD Browsers: Edge: 44.18362.449.0 Internet Explorer: Not Found npmPackages: react: ^16.13.1 => 16.13.1 react-dom: ^16.13.1 => 16.13.1 react-scripts: ^3.4.1 => 3.4.1 npmGlobalPackages: create-react-app: Not Found ``` ### Steps to reproduce Just run `eslint: lint whole folder` task. This is my ESLint config: ```json { "extends": [ "react-app", "airbnb", "prettier" ], "env": { "mocha": true, "es6": true, "commonjs": true, "browser": true }, "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 2020, "sourceType": "module", "ecmaFeatures": { "jsx": true, "modules": true, "experimentalObjectRestSpread": true } }, "plugins": [ "prettier" ], "rules": { "no-underscore-dangle": "off", "class-methods-use-this": "off", "import/no-extraneous-dependencies": [ "error", { "devDependencies": true } ] } } ``` ### Expected behavior It should not throw exceptions. ### Actual behavior It throws the above exception. ### Reproducible demo
issue: needs investigation,issue: bug report
high
Critical
610,606,478
go
cmd/compile: more compact initialization of maps with dynamic content
Iooking into the size of `unicode.init` I found that the optimization to init maps from arrays of keys and values with a for loop instead of making an mapassign call for each key/value doesnt trigger for the maps in package unicode because the values are variables and not static. The allowed types for this optimization were already expanded before and it seems there is room to go further. https://go-review.googlesource.com/c/go/+/66050/ Writing a prototype compiler CL allowing `ONAME` to also be used as a value and marking value arrays used for initialization as dynamic and not readonly (when ONAME is present) cuts the size of unicode.init roughly in half (saves 8kb currently). A hello world binary gains a 4kb size reduction. I dont see yet see a problem with side effects if all keys are static and all values are either ONAME or statics. Unfortunately since the values in the unicode case are pointers there are still a lot of gcwritebarrier entries that bloat the init function. There seems more room to make unicode.init smaller by optimizing the init func generation. @josharian @randall77 @bradfitz
NeedsInvestigation,binary-size,compiler/runtime
low
Major
610,652,585
frp
[feature request] Add client count metrics broken down by name in prometheus metrics
Currently, it is not possible to see which clients are online in a dashboard. There is currently this: https://github.com/fatedier/frp/blob/23bb76397a0484485a16e1a3e990385b13ee388d/models/metrics/prometheus/server.go#L58-L63 Which is an integer of the total amount of clients connected to frps. But I wish that there could be another metric `clients` that shows the total amount of clients by name. So if I have a service/client like this: ``` # frpc.ini [my-cool-client] ... ``` Then I would see in `ip_address:7500/metrics`: > \# HELP frp_server_client_counts The current client counts of frps > \# TYPE frp_server_client_counts gauge > frp_server_client_counts 1 > **\# HELP frp_server_clients The current clients of frps broken down by name > \# TYPE frp_server_clients gauge > frp_server_clients{name="my-cool-service"} 1** > \# HELP frp_server_connection_counts The current connection counts > \# TYPE frp_server_connection_counts gauge > frp_server_connection_counts{name="my-cool-service",type="tcp"} 1 > frp_server_connection_counts{name="ssh",type="tcp"} 0 Note the **bolded**, which are what I would like to achive. TL;DR: I'm trying to replicate the dashboard page in grafana and I would like to know which clients are online, not how many clients are online. ![image](https://user-images.githubusercontent.com/6134511/80794852-34306500-8b9b-11ea-8c15-1f184612da2e.png) but the prometheus `/metrics` page doesn't. I would love to help by submitting a PR but I have never worked with `golang` so I'm afraid I wont be with too much help.
proposal
low
Critical
610,695,821
excalidraw
Debounce/set interval to syncing in collaborative mode
If you start drawing diagrams and do frequent rotations / resizing/ moving shapes, it leads to at least 8-10 seconds and even goes to 15-20 seconds lag. Also, cursor sync takes good amount of bandwidth. I tried adding debounce of around 30ms and it takes way less bandwidth compared to current state and I didn't notice any lag as well. should we try that out? Any other thoughts on optimizing?
discussion,collaboration
medium
Major
610,709,191
youtube-dl
arteradio.com
## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.03.24. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.03.24** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones episode link: https://www.arteradio.com/son/61663819/bookmakers_alice_zeniter_1_3 series/playlist link: https://www.arteradio.com/serie/bookmakers ## Description There’s already a scraper for arte.tv fwiw: https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/arte.py
site-support-request
low
Critical
610,749,984
angular
fix(elements): fix type signature of `NgElementStrategy#get/setInputValue()`
Currently, the [type signature][1] of `NgElementStrategy#setInputValue()` specifies that the second `value` argument should be of type `string`. https://github.com/angular/angular/blob/49be32c9315a5c7ff155c5b88191e504006f595b/packages/elements/src/element-strategy.ts#L32-L33 This is true when setting the property based off of an HTML attribute value, but is not correct when the property is set on the element (where it can have any value). The `getInputValue()` signature is correct, specifying that a value of type `any` is returned. We can fix the type signature of `setInputValue()` with `value: any` or with `value: unknown` (and the equivalent change for `getInputValue()`'s return value). The former is non-breaking, but may cover type errors. The latter is preferrable from a typings standpoint, but is a breaking change. ## For context, this was attempted in #36114 (see commit 8795214d40f94737a698c93c5531e8d276c8e8bf). See relevant discussions [here][1] and [there][2]. However, more investigation was required to determine the impact of the change, which was outside the scope of #36114. See, also, https://github.com/angular/angular/pull/36114#issuecomment-622378247 for some preliminary results. [1]: https://github.com/angular/angular/pull/36114#discussion_r416748651 [2]: https://github.com/angular/angular/pull/36114#pullrequestreview-402274167
type: bug/fix,breaking changes,area: elements,state: confirmed,P4
low
Critical
610,783,728
pytorch
Remove everything from a GPU (including drivers)
## 🚀 Feature Hi, it seems that once one send a Tensor to the GPU memory, it is not possible to release the memory usage of the GPU back to zero. example: ```python import torch tm = torch.Tensor([1,2]).to("cuda") !nvidia-smi |===============================+======================+======================| | 0 GeForce RTX 208... On | 00000000:3D:00.0 Off | N/A | | 0% 37C P2 52W / 250W | 730MiB / 10989MiB | 0% Default ``` So I use 730MiB... Now no matter what I try I can not make the 730MiB go to zero: ```python del tm torch.cuda.empty_cache() import sys;sys.modules[__name__].__dict__.clear() %reset Once deleted, variables cannot be recovered. Proceed (y/[n])? y !nvidia-smi | 0 GeForce RTX 208... On | 00000000:3D:00.0 Off | N/A | | 0% 35C P8 1W / 250W | 728MiB / 10989MiB | 0% Default | ``` ## Motivation I am building an agile algorithm that uses a changing amount of GPUs, increasing and decreasing the number of GPUs that are needed. It constantly checked for free GPUs, but it seems that I can not really free a GPU after I already sent an object to the GPU. Also, I am not the only one that uses the machine, so if I don't need a GPU anymore I would like it to show zero MEM so other users will use this GPU. ## Pitch Well, it would be great if there was a command - torch.cuda.release_device(device=..) See also - https://discuss.pytorch.org/t/how-totally-remove-data-and-free-gpu/79272 cc @ngimel
module: cuda,triaged,enhancement
low
Minor
610,793,610
godot
ArrayMesh created in separate Thread loses surfaces when passed to `call_deferred()`
**Godot version:** v3.2.1, master branch **OS/device including version:** Windows 10 (1909) **Issue description:** ArrayMesh created by SurfaceTool.commit() in a separate Thread, loses its Surfaces when passed back to MainThread as a argument using call_deferred(). **Steps to reproduce:** 1. Create a separate Thread 2. Create a ArrayMesh in this thread using the SurfaceTool 3. Pass the ArrayMesh as argument to a method using call_deferred() 4. Set the mesh in an MeshInstance and call MeshInstance.create_trimesh_collision() 5. Get Errors saying that mesh.surfaces.size() equals 0 BONUS: * if you add `print(mesh.surfaces.size())` directly after SurfaceTool.commit() (see minimal reproduction on line 86, it solves the problem. But why? **Minimal reproduction project:** In the reproduction project the "Visible Collision Shapes"-Option is activated. If you run the project there are no Collision Shapes visible. If you uncomment the print statement on line 88 the collision shapes are visible. [no-mesh-surfaces-deffered-minimal-reproduction.zip](https://github.com/godotengine/godot/files/4564782/no-mesh-surfaces-deffered-minimal-reproduction.zip) or [ProceduralTerrain.gd](https://gist.github.com/dardanbujupaj/f91dc8c0fd8a79bdd50ead6350de05d1)
enhancement,topic:core,topic:rendering,documentation
low
Critical
610,826,401
create-react-app
Improve release process
### Is your proposal related to a problem? As a contributor, I see three places how contributing can be less frustrating: 1. Release bug fixes in a patch release. 2. Release fixes from the pull request sooner. 3. If it is not possible, give explain the problem to the contributor. My recent small [bugfix PR](https://github.com/facebook/create-react-app/pull/8768) can be an example. ### Describe the solution you'd like As the first suggestion, we can add a rule to always create a branch for major release development. Seems like 4.x development happened in `master` and was a reason why several PRs waited for a month for release. ### Describe alternatives you've considered But as a person outside of the project, I can miss something. What is the longest step in the current release process? Or maybe there are some psychological blockers (like afraid of multiple issues if patch release will break anything)?
issue: proposal,needs triage
low
Critical
610,835,561
TypeScript
Leading JSDoc `*` in type expression incorrectly parsed
I tried the following snippet ```js /** * @typedef { * import('../src/index.js').FakeCloudwatchLogs * } FakeCloudwatchLogs */ ``` This did not compile with ``` test/index.js:11:6 - error TS1005: '}' expected. 11 * import('../src/index.js').FakeCloudwatchLogs ~~~~~~ ``` Removing the `*` and writing ```js /** * @typedef { import('../src/index.js').FakeCloudwatchLogs * } FakeCloudwatchLogs */ ``` Does compile. I am using typsecript 3.8.3 There is a related issue - https://github.com/microsoft/TypeScript/pull/26528 - https://github.com/microsoft/TypeScript/issues/26846 - https://github.com/microsoft/TypeScript/issues/23667
Bug,Domain: JSDoc
low
Critical
610,855,883
TypeScript
checkJS + JSDoc + inline d.ts syntax
## Search Terms jsdoc, interface, import, inline, d.ts file, checkJs ## Suggestion Improve the user experience for checkJS users. Currently TypeScript checkJS supports 99% of the use cases of TypeScript and that's an amazing feat as it stands. The support for `@typedef` with `import(...)` helps a lot ! It would be amazing if there was support for something like `@tsdeclare` ```js // foo.js /** * @tsdeclare { * import type { * LogStream * } from 'aws-sdk/clients/cloudwatchlogs'; * * interface Dictionary<T> { * [key: string]: T | undefined; * } * } */ class FakeCloudwatchLogs { constructor () { /** @type {Dictionary<LogStream[]>} */ this.rawStreams = {} } } ``` If I could declare statements that are valid in a `foo.d.ts` file but instead inline in my javascript file withing a `@tsdeclare` block. This is very similar to https://github.com/microsoft/TypeScript/issues/9694#issuecomment-409158590 but it's even smaller in scope. The scope of the `@tsdeclare` block is only about importing types and declaring interfaces and other non trivial types that can then be used in the file. Actually annotating types of javascript symbols is left for `@param` ; `@type` & `@returns` etc. The `@tsdeclare` is a more powerful version of `@typedef` ## Use Cases I want to check my JavaScript files with TypeScript and I am currently declaring type definitions and interfaces in a `foo.d.ts` file next to my JS file. ## Examples I want to use this for declaring `interface` in a JS file. The existing approach requires two files, a js file and a `.d.ts` file. https://github.com/microsoft/TypeScript/issues/9694#issuecomment-500619014 I know that its possible to split the code across two files. with more advanced types in a `d.ts` file but that's a frustrating user experience of splitting the documentation of my code across two files. ## Checklist My suggestion meets these guidelines: * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [x] This wouldn't change the runtime behavior of existing JavaScript code * [x] This could be implemented without emitting different JS based on the types of the expressions * [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Suggestion,Awaiting More Feedback
low
Major
610,876,300
flutter
WidgetTester.startGesture should bounds check the offset
If you call `WidgetTester.startGesture` with coordinates that are outside the bounds of the screen no error or warning is issued. It is also undefined if the argument to that method is physicalPixels or logicalPixels.
a: tests,framework,d: api docs,P2,team-framework,triaged-framework
low
Critical
610,911,843
pytorch
LSTMCell consumes x1.5 more memory on CUDA on pytorch >=1.3 comparing to pytorch 1.2
## 🐛 Bug From pytroch 1.3 LSTMCell consume x1.5 more memory compared to pytorch 1.2 ## To Reproduce Steps to reproduce the behavior: Make lstmcell object and check memory usage ``` import torch rnn = torch.nn.LSTMCell(10, 20).cuda() input = torch.randn(6, 3, 10).cuda() hx = torch.randn(3, 20).cuda() cx = torch.randn(3, 20).cuda() output = [] for i in range(6): hx, cx = rnn(input[i], (hx, cx)) output.append(hx) print(torch.cuda.memory_allocated()) ``` ## Expected behavior Eat less VRAM like in 1.2 ## Environment You can run it from colab https://colab.research.google.com/drive/18R1aMLcM2uL91gTbYdhm9urWRJaEQUuE ## Additional context I had thread at forum https://discuss.pytorch.org/t/50-vram-used-on-torch-1-3-compared-to-1-2/63398/24 cc @ngimel @zou3519
module: rnn,module: cuda,module: memory usage,triaged
low
Critical
610,913,432
neovim
Indentation-aware textwidth
I would like to be able to not impose a maximum character width via `textwidth`, but still ensure that the length of every line, ignoring the whitespace at the start of the line due to indentation, is limited to a certain amount. This ensures that things like comments are formatted in a readable way. I don't think this can be accomplished easily currently (correct me if I'm wrongi). Perhaps a `formatoptions` option can be added?
enhancement
low
Minor
610,916,374
pytorch
Add Compound key, make custom ops default to it (but keep internal users using CatchAll)
(to be expanded)
triaged,internals
low
Minor
610,940,374
electron
Retrieving the full content size, not just the visible size
<!-- As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can. --> ### Preflight Checklist <!-- Please ensure you've completed the following steps by replacing [ ] with [x]--> * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success. ### Problem Description <!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. --> I need to basically take a screenshot of a rendered HTML string but the `capturePage` method doesn't actually capture the entire thing all the time, but just the visible part of it. It can capture the full thing if the window gets resized to the actual content size, but there's no way to retrieve the full content size without executing some javascript in it, but I'd much rather like to disable javascript execution entirely in these windows containing arbitrary HTML. ### Proposed Solution <!-- Describe the solution you'd like in a clear and concise manner --> Maybe a `BrowserWindow#getContentFullSize` could be added. ### Alternatives Considered <!-- A clear and concise description of any alternative solutions or features you've considered. --> I'm not sure there's an alternative that doesn't involve enabling javascript in the captured window.
enhancement :sparkles:
low
Minor
611,045,524
flutter
FormField widgets inside ListView bypass form validation and loss of text when the widgets are out of visibility.
## Problem Description I was making a form for inputting user information. As there were multiple fields, some fields went out of screen visibility and when I am submitting the form these fields are not validated. When I am using FormField widgets inside ListView : 1. If all fields are visible then they all were validated. 2. If some fields are not visible and are out of focus then they were not validated. 3. If some fields are not visible but anyone of the field is in focus then that widget is only validated while the other which are not visible are not validated. 4. If filling any formfield and scrolling it out of view and focusing on any another field then the text is lost of previous field. When I am using FormField widgets inside SingleChildScrollView 1. All FormFields are validated, it doesn't matter if they are visible or not. 2. No text is lost on scrolling and focussing on another field, which was earlier. But the common issue is that the field is not focussed on error after validation in both the cases. It doesn't if I use ListView or SingleChildScrollView. ## Minimum working code <details><summary>Code</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Bug(), ); } } class Bug extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(), body: ListView( children: <Widget>[ RaisedButton( child: Text('Listview without bug'), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (_) => FormWithListView(fillSpace: false))); }, ), RaisedButton( child: Text('Listview with bug'), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (_) => FormWithListView())); }, ), RaisedButton( child: Text('SingleChildScrollView without bug'), onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (_) => FormWithSingleChildScrollView(fillSpace: false))); }, ), RaisedButton( child: Text('SingleChildScrollView with bug'), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (_) => FormWithSingleChildScrollView())); }, ), ], ), ); } } class FormWithListView extends StatefulWidget { final bool fillSpace; const FormWithListView({Key key, this.fillSpace = true}) : super(key: key); @override FormWithListViewState createState() { return FormWithListViewState(); } } class FormWithListViewState extends State<FormWithListView> { final _formKey = GlobalKey<FormState>(); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("${widget.fillSpace ? "Buggy" : "Working"} ListView"), ), body: Container( child: Form( key: _formKey, child: ListView( children: <Widget>[ TextFormField( decoration: InputDecoration(hintText: "enter here"), validator: (value) { if (value.isEmpty) { return 'Please enter some text'; } return null; }, ), if (widget.fillSpace) Placeholder( fallbackHeight: 1.5 * MediaQuery.of(context).size.height, ), TextFormField( decoration: InputDecoration(hintText: "enter here"), validator: (value) { if (value.isEmpty) { return 'Please enter some text'; } return null; }, ), Builder( builder: (context) { return RaisedButton( onPressed: () { if (_formKey.currentState.validate()) { Scaffold.of(context).showSnackBar(SnackBar(content: Text('Form validated'))); } }, child: Text('Submit'), ); }, ), ], ), ), ), ); } } class FormWithSingleChildScrollView extends StatefulWidget { final bool fillSpace; const FormWithSingleChildScrollView({Key key, this.fillSpace = true}) : super(key: key); @override FormWithSingleChildScrollViewState createState() { return FormWithSingleChildScrollViewState(); } } class FormWithSingleChildScrollViewState extends State<FormWithSingleChildScrollView> { final _formKey = GlobalKey<FormState>(); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("${widget.fillSpace ? "Buggy" : "Working"} SingleChildScrollView"), ), body: Container( child: Form( key: _formKey, child: SingleChildScrollView( child: Column( children: <Widget>[ TextFormField( decoration: InputDecoration(hintText: "enter here"), validator: (value) { if (value.isEmpty) { return 'Please enter some text'; } return null; }, ), if (widget.fillSpace) Placeholder( fallbackHeight: 1.2 * MediaQuery.of(context).size.height, ), TextFormField( decoration: InputDecoration(hintText: "enter here"), validator: (value) { if (value.isEmpty) { return 'Please enter some text'; } return null; }, ), Builder( builder: (context) { return RaisedButton( onPressed: () { if (_formKey.currentState.validate()) { Scaffold.of(context).showSnackBar(SnackBar(content: Text('Form validated'))); } }, child: Text('Submit'), ); }, ), ], ), ), ), ), ); } } ``` </details> ## Steps to reproduce error 1. Copy the above code and paste it into a new file. 1. Run the above code. 1. You will see 4 raised buttons on homepage 1. ListView without bug 1. ListView with bug 1. SingleChildScrollView without bug 1. SingleChildScrollView with bug 1. If you click first raised button, you will find two text fields and a submit button. This is the first case and it is working fine. 1. If you click second raised button, you will find two text fields separated by a placeholder and a submit button. 1. To see second error, scroll down and fill the last text field before the submit button and then submit the form, you will see that the form is validated which is wrong. 1. To see third error, fill the first formfield only and submit the form, it will be validated. 1. To see fourth error, fill the first formfield and then fill the second formfield the first text will be discarded on focus lost. 1. To see fifth the problem, click the last raised button, you will find two text fields separated by a placeholder and a submit button. 1. While submitting the form, the formfield with wrong input is being validated but doesn't comes in focus. <details> <summary>Logs</summary> <!-- Run your application with `flutter run --verbose` and attach all the log output below between the lines with the backticks. If there is an exception, please see if the error message includes enough information to explain how to solve the issue. --> ``` [ +64 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +122 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +11 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d [ +1 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +23 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.12.13+hotfix.8-0-g0b8abb472 [ +40 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/home/shubhgkr/flutterSdk/flutter/] git ls-remote --get-url origin [ +21 ms] Exit code 0 from: git ls-remote --get-url origin [ +1 ms] https://github.com/flutter/flutter.git [ +177 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git rev-parse --abbrev-ref HEAD [ +46 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +513 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb devices -l [ +24 ms] Exit code 0 from: /home/shubhgkr/androidSdk/platform-tools/adb devices -l [ ] List of devices attached emulator-5554 device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:1 [ +99 ms] /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell getprop [ +147 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +72 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +569 ms] Generating /home/shubhgkr/IdeaProjects/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +102 ms] ro.hardware = ranchu [ +162 ms] Using hardware rendering with device Android SDK built for x86 64. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +62 ms] Launching lib/main.dart on Android SDK built for x86 64 in debug mode... [ +53 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +51 ms] Exit code 0 from: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +2 ms] --------- beginning of system 05-01 20:30:15.484 I/UsageStatsService( 1518): User[0] Flushing usage stats to disk [ +25 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb version [ +2 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 logcat -v time -T 05-01 20:30:15.484 [ +83 ms] Android Debug Bridge version 1.0.41 Version 29.0.6-6198805 Installed as /home/shubhgkr/androidSdk/platform-tools/adb [ +15 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb start-server [ +63 ms] Building APK [ +67 ms] Running Gradle task 'assembleDebug'... [ +16 ms] gradle.properties already sets `android.enableR8` [ +33 ms] Using gradle from /home/shubhgkr/IdeaProjects/bug/android/gradlew. [ +33 ms] executing: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ +308 ms] Exit code 0 from: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +6 ms] executing: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ +231 ms] Exit code 0 from: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +22 ms] executing: [/home/shubhgkr/IdeaProjects/bug/android/] /home/shubhgkr/IdeaProjects/bug/android/gradlew -Pverbose=true -Ptarget=/home/shubhgkr/IdeaProjects/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x64 assembleDebug [+4097 ms] Starting a Gradle Daemon, 3 busy and 3 incompatible Daemons could not be reused, use --status for details [+94422 ms] > Task :app:compileFlutterBuildDebug [ +12 ms] [ +79 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] [ +84 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +2 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d [ ] [ +2 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +8 ms] [ +19 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] [ ] v1.12.13+hotfix.8-0-g0b8abb472 [ ] [ +23 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +3 ms] [ +23 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/home/shubhgkr/flutterSdk/flutter/] git ls-remote --get-url origin [ ] [ +23 ms] Exit code 0 from: git ls-remote --get-url origin [ +5 ms] [ ] https://github.com/flutter/flutter.git [ ] [ +193 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +56 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +107 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +4 ms] [ +16 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +4 ms] [ +3 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +539 ms] [ +642 ms] Initializing file store [ +99 ms] [ +68 ms] kernel_snapshot: Starting due to {} [ +100 ms] [ +50 ms] /home/shubhgkr/flutterSdk/flutter/bin/cache/dart-sdk/bin/dart /home/shubhgkr/flutterSdk/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/shubhgkr/flutterSdk/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,av oid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /home/shubhgkr/IdeaProjects/bug/.packages --output-dill /home/shubhgkr/IdeaProjects/bug/.dart_tool/flutter_build/02f055ed5fa422255eb2ff43ffb93e94/app.dill --depfile /home/shubhgkr/IdeaProjects/bug/.dart_tool/flutter_build/02f055ed5fa422255eb2ff43ffb93e94/kernel_snapshot.d package:bug/main.dart [+24299 ms] [+24289 ms] kernel_snapshot: Complete [+5000 ms] [+5021 ms] debug_android_application: Starting due to {} [+1499 ms] [+1575 ms] debug_android_application: Complete [ +799 ms] [ +751 ms] Persisting file store [ ] [ +25 ms] Done persisting file store [ ] [ +17 ms] build succeeded. [ +98 ms] [ +31 ms] "flutter assemble" took 32,658ms. [+1399 ms] > Task :app:packLibsflutterBuildDebug [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ +99 ms] > Task :app:compileDebugAidl NO-SOURCE [ +800 ms] > Task :app:checkDebugManifest [ +200 ms] > Task :app:generateDebugBuildConfig [ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE [ +998 ms] > Task :app:cleanMergeDebugAssets UP-TO-DATE [ +699 ms] > Task :app:mergeDebugShaders [ +202 ms] > Task :app:compileDebugShaders [ +1 ms] > Task :app:generateDebugAssets [ +96 ms] > Task :app:mergeDebugAssets [ +600 ms] > Task :app:copyFlutterAssetsDebug [ +101 ms] > Task :app:mainApkListPersistenceDebug [ +202 ms] > Task :app:generateDebugResValues [ +1 ms] > Task :app:generateDebugResources [+6593 ms] > Task :app:mergeDebugResources [ +300 ms] > Task :app:createDebugCompatibleScreenManifests [+1499 ms] > Task :app:processDebugManifest [+1800 ms] > Task :app:processDebugResources [+30001 ms] > Task :app:compileDebugKotlin [+10298 ms] > Task :app:javaPreCompileDebug [+5600 ms] > Task :app:compileDebugJavaWithJavac [ ] > Task :app:compileDebugSources [ +298 ms] > Task :app:processDebugJavaRes NO-SOURCE [ +599 ms] > Task :app:checkDebugDuplicateClasses [+4999 ms] > Task :app:mergeDebugJavaResource [+12500 ms] > Task :app:desugarDebugFileDependencies [+2100 ms] > Task :app:transformClassesWithDexBuilderForDebug [ ] > Task :app:validateSigningDebug [ +198 ms] > Task :app:signingConfigWriterDebug [ +399 ms] > Task :app:mergeDebugJniLibFolders [+5000 ms] > Task :app:mergeDebugNativeLibs [+2000 ms] > Task :app:stripDebugDebugSymbols [ +1 ms] Compatible side by side NDK version was not found. [ +1 ms] Unable to strip library '/home/shubhgkr/IdeaProjects/bug/build/app/intermediates/merged_native_libs/debug/out/lib/x86_64/libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is. [ +1 ms] Unable to strip library '/home/shubhgkr/IdeaProjects/bug/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is. [ +396 ms] > Task :app:mergeExtDexDebug [+1797 ms] > Task :app:mergeDexDebug ^C(base) shubhgkr@hp:~/IdeaProjects/bug$ flutter run --verbose [ +86 ms] executing: [/home/shubhgkr/flutterSdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +511 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb devices -l [ +22 ms] Exit code 0 from: /home/shubhgkr/androidSdk/platform-tools/adb devices -l [ ] List of devices attached emulator-5554 device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:3 [ +95 ms] /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell getprop [ +139 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +66 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +21 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [+2287 ms] Generating /home/shubhgkr/IdeaProjects/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +102 ms] ro.hardware = ranchu [ +149 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +90 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode... [ +57 ms] executing: /home/shubhgkr/androidSdk/build-tools/28.0.3/aapt dump xmltree /home/shubhgkr/IdeaProjects/bug/build/app/outputs/apk/app.apk AndroidManifest.xml [ +257 ms] Exit code 0 from: /home/shubhgkr/androidSdk/build-tools/28.0.3/aapt dump xmltree /home/shubhgkr/IdeaProjects/bug/build/app/outputs/apk/app.apk AndroidManifest.xml [ +2 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=35) E: action (line=36) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=38) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=45) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +28 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +49 ms] Exit code 0 from: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +1 ms] --------- beginning of main 05-02 04:17:23.148 W/Conscrypt( 2357): at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gm s@[email protected] (020700-239467275):2) [ +19 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb version [ +5 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 logcat -v time -T 05-02 04:17:23.148 [ +91 ms] Android Debug Bridge version 1.0.41 Version 29.0.6-6198805 Installed as /home/shubhgkr/androidSdk/platform-tools/adb [ +8 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb start-server [ +30 ms] Building APK [ +72 ms] Running Gradle task 'assembleDebug'... [ +10 ms] gradle.properties already sets `android.enableR8` [ +10 ms] Using gradle from /home/shubhgkr/IdeaProjects/bug/android/gradlew. [ +116 ms] executing: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [+1627 ms] Exit code 0 from: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +73 ms] executing: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ +190 ms] Exit code 0 from: /home/shubhgkr/AndroidStudioLinux/jre/bin/java -version [ +1 ms] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +21 ms] executing: [/home/shubhgkr/IdeaProjects/bug/android/] /home/shubhgkr/IdeaProjects/bug/android/gradlew -Pverbose=true -Ptarget=/home/shubhgkr/IdeaProjects/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug [+11095 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE [ ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] > Task :app:compileDebugAidl NO-SOURCE [ +59 ms] > Task :app:checkDebugManifest UP-TO-DATE [ +103 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :app:compileDebugRenderscript NO-SOURCE [ +394 ms] > Task :app:cleanMergeDebugAssets [ +199 ms] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders UP-TO-DATE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ +99 ms] > Task :app:mergeDebugAssets [ +599 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE [ +99 ms] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources UP-TO-DATE [ ] > Task :app:mergeDebugResources UP-TO-DATE [ +299 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :app:processDebugManifest UP-TO-DATE [ +99 ms] > Task :app:processDebugResources UP-TO-DATE [ ] > Task :app:compileDebugKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDebug UP-TO-DATE [ +99 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDebugSources UP-TO-DATE [ +200 ms] > Task :app:processDebugJavaRes NO-SOURCE [ ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ +98 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ +999 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ +1 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ +1 ms] > Task :app:mergeDexDebug UP-TO-DATE [ +4 ms] > Task :app:validateSigningDebug UP-TO-DATE [ +90 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE [ +200 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ +1 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] Compatible side by side NDK version was not found. [ ] > Task :app:packageDebug UP-TO-DATE [ ] > Task :app:assembleDebug UP-TO-DATE [ +1 ms] BUILD SUCCESSFUL in 14s [ ] 30 actionable tasks: 3 executed, 27 up-to-date [ +428 ms] Running Gradle task 'assembleDebug'... (completed in 17.2s) [ +662 ms] calculateSha: LocalDirectory: '/home/shubhgkr/IdeaProjects/bug/build/app/outputs/apk'/app.apk [ +203 ms] calculateSha: reading file took 202us [+1231 ms] calculateSha: computing sha took 1224us [ +14 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk. [ +11 ms] executing: /home/shubhgkr/androidSdk/build-tools/28.0.3/aapt dump xmltree /home/shubhgkr/IdeaProjects/bug/build/app/outputs/apk/app.apk AndroidManifest.xml [ +36 ms] Exit code 0 from: /home/shubhgkr/androidSdk/build-tools/28.0.3/aapt dump xmltree /home/shubhgkr/IdeaProjects/bug/build/app/outputs/apk/app.apk AndroidManifest.xml [ +1 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: intent-filter (line=35) E: action (line=36) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=38) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=45) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +5 ms] Stopping app 'app.apk' on Android SDK built for x86. [ +1 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug [ +661 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug [ +374 ms] package:com.example.bug [ +6 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1 [ +90 ms] 055785973d019358e5d6f4350ddedc221e98a645 [ +1 ms] Latest build already installed. [ ] Android SDK built for x86 startApp [ +9 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity [ +525 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... [ +13 ms] D/FlutterActivity( 3913): Using the launch theme as normal theme. [ +19 ms] D/FlutterActivityAndFragmentDelegate( 3913): Setting up FlutterEngine. [ ] D/FlutterActivityAndFragmentDelegate( 3913): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment. [ +696 ms] D/FlutterActivityAndFragmentDelegate( 3913): Attaching FlutterEngine to the Activity that owns this Fragment. [ +178 ms] D/FlutterView( 3913): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@36ab1876 [ +60 ms] D/FlutterActivityAndFragmentDelegate( 3913): Executing Dart entrypoint: main, and sending initial route: / [ +572 ms] Observatory URL on device: http://127.0.0.1:43089/OnbgzKuYXK8=/ [ +3 ms] executing: /home/shubhgkr/androidSdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:43089 [ +60 ms] 42685 [ ] Forwarded host port 42685 to device port 43089 for Observatory [ +33 ms] Connecting to service protocol: http://127.0.0.1:42685/OnbgzKuYXK8=/ [+1612 ms] Successfully connected to service protocol: http://127.0.0.1:42685/OnbgzKuYXK8=/ [ +13 ms] Sending to VM service: getVM({}) [ +69 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Android 32-bit virtual processor, operatingSystem: android, targetCPU: ia32, version: 2.7.0 (Fri Dec 6 16:26:51 2019 +0100) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 3... [ +16 ms] Sending to VM service: getIsolate({isolateId: isolates/2680530507017179}) [ +10 ms] Sending to VM service: _flutter.listViews({}) [ +215 ms] Result: {type: Isolate, id: isolates/2680530507017179, name: main, number: 2680530507017179, _originNumber: 2680530507017179, startTime: 1588373268925, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis... [ +62 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xb4193190, isolate: {type: @Isolate, fixedId: true, id: isolates/2680530507017179, name: main.dart$main-2680530507017179, number: 2680530507017179}}]} [ +33 ms] DevFS: Creating new filesystem on the device (null) [ +1 ms] Sending to VM service: _createDevFS({fsName: bug}) [ +222 ms] Result: {type: FileSystem, name: bug, uri: file:///data/data/com.example.bug/code_cache/bugRWZJCR/bug/} [ ] DevFS: Created new filesystem on the device (file:///data/data/com.example.bug/code_cache/bugRWZJCR/bug/) [ +3 ms] Updating assets [ +539 ms] Syncing files to device Android SDK built for x86... [ +8 ms] Scanning asset files [ +6 ms] <- reset [ +1 ms] Compiling dart to kernel with 0 updated files [ +29 ms] /home/shubhgkr/flutterSdk/flutter/bin/cache/dart-sdk/bin/dart /home/shubhgkr/flutterSdk/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/shubhgkr/flutterSdk/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.ZUNEWE/app.dill --packages /home/shubhgkr/IdeaProjects/bug/.packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,av oid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root [ +51 ms] <- compile package:bug/main.dart [+19379 ms] Updating files [ +845 ms] DevFS: Sync finished [ +378 ms] Syncing files to device Android SDK built for x86... (completed in 20,319ms, longer than expected) [ +2 ms] Synced 0.9MB. [ +3 ms] Sending to VM service: _flutter.listViews({}) [ +12 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xb4193190, isolate: {type: @Isolate, fixedId: true, id: isolates/2680530507017179, name: main.dart$main-2680530507017179, number: 2680530507017179}}]} [ +1 ms] <- accept [ ] Connected to _flutterView/0xb4193190. ``` <!-- Run `flutter analyze` and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue. --> ``` Analyzing bug... info • The for, if, and spread elements weren't supported until version 2.3.0, but this code is required to be able to run on earlier versions • lib/main.dart:88:15 • sdk_version_ui_as_code info • The for, if, and spread elements weren't supported until version 2.3.0, but this code is required to be able to run on earlier versions • lib/main.dart:156:17 • sdk_version_ui_as_code 2 issues found. (ran in 7.4s) ``` <!-- Finally, paste the output of running `flutter doctor -v` here. --> ``` [✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8) • Flutter version 1.12.13+hotfix.8 at /home/shubhgkr/flutterSdk/flutter • Framework revision 0b8abb4724 (3 months ago), 2020-02-11 11:44:36 -0800 • Engine revision e1e6ced81d • Dart version 2.7.0 [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /home/shubhgkr/androidSdk/ • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /home/shubhgkr/androidSdk • Java binary at: /home/shubhgkr/AndroidStudioLinux/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) ✗ Android license status unknown. Try re-installing or updating your Android SDK Manager. See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions. [✓] Android Studio (version 3.6) • Android Studio at /home/shubhgkr/AndroidStudioLinux • Flutter plugin version 45.0.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [!] VS Code (version 1.43.1) • VS Code at /usr/share/code ✗ Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [!] Connected device ! No devices available ! Doctor found issues in 3 categories. ``` </details>
a: text input,c: new feature,framework,f: material design,f: scrolling,has reproducible steps,P3,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework
medium
Critical
611,055,935
go
x/build: automated testing of popular, open source Go projects
Basic idea is that we'd automatically build and test a large, representative sampling of open source Go projects, to help catch regressions during the development cycle that aren't caught by tests in the Go repo itself. Some thoughts: If running tests is a concern for resource/security concerns, even just verifying that projects still build would be useful data sometimes. E.g., cmd/cgo changes have a high frequency of breaking builds. I think ~nightly testing would be adequate, but even weekly would probably be useful. /cc @dmitshur
Builders,NeedsInvestigation,FeatureRequest
low
Major
611,088,216
vue-element-admin
下拉选择框,点击会导致页面崩溃。
<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。 Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed. --> ## Bug report(问题描述) 在页面上添加的 el-select,在多次点击切换选项会导致界面崩溃,然后重新加载页面。 #### Steps to reproduce(问题复现步骤) 1、https://panjiachen.gitee.io/vue-element-admin/#/components/drag-dialog 2、点击 “Open a drag dialog”按钮 3、不断切换选项 #### Screenshot or Gif(截图或动态图) #### Link to minimal reproduction(最小可在线还原demo) <!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo --> #### Other relevant information(格外信息) 正如我发的链接,该链接的环境同样会出现。 - Your OS: win10 18362.778(1903) - Node.js version: 12.16.2 - vue-element-admin version: 4.2.1
not vue-element-admin bug
low
Critical
611,089,362
angular
Language Service: integration with custom-elements.json specification
# 🚀 feature request While working in Angular templates, it would be valuable to have autocompletion for custom elements properties and events. Note: VSCode currently supports for custom element attributes with html file extension. ### Relevant Package This feature request is for @angular/language-service ### Description Given the following `custom-elements.json` file: <details><summary><code>custom-elements.json</code></summary> <p> ```json { "version": 1.2, "tags": [ { "name": "demo-wc-card", "description": "This is a container looking like a card with a back and front side you can switch", "attributes": [ { "name": "header", "description": "Header message", "type": "string", "defaultValue": "Your message" } ], "properties": [ { "name": "backSide", "description": "Indicates that the back of the card is shown", "type": "boolean" } ] } ] } ``` </p> </details> No suggestions are provided for property `backSide`: <img width="448" alt="Screen Shot 2020-05-01 at 7 12 47 PM" src="https://user-images.githubusercontent.com/1571918/80852758-dffba400-8bdf-11ea-9d74-7017c4ea5d4e.png"> Ideally, the property description and type would be shown. --- Here's an example of a functioning attribute in VSCode. This works due to VSCode's HTML Language Service honoring the custom-elements.json spec. <img width="454" alt="Screen Shot 2020-05-01 at 7 12 30 PM" src="https://user-images.githubusercontent.com/1571918/80852754-dbcf8680-8bdf-11ea-93de-b7ce11ea4c05.png"> Here's an example repository demoing the VSCode integration: https://github.com/microsoft/vscode-custom-data/tree/master/samples/helloworld. For information on the specification format, see https://github.com/w3c/webcomponents/issues/776. ### Describe the solution you'd like First-class support for custom elements properties and events. ### Describe alternatives you've considered This sort of editor support is novel, no known alternative options exist.
feature,area: language-service,cross-cutting: custom elements,feature: under consideration
low
Major
611,110,637
flutter
TextField edit menu position problem
When there is a lot of text in the TextField, the actual height of the text exceeds the TextField a lot, so, if I select all the text, an edit menu will pop up, similar to 'copy / cut / select all'. But the position of the edit menu will be far away from the TextField, and displayed on the first line of the actual height of the text. anybody can help please?
a: text input,platform-ios,framework,a: fidelity,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-ios,triaged-ios
low
Major
611,129,768
pytorch
Builtin FusedLayerNorm is slower than apex one
benchmarks by @myleott: https://github.com/pytorch/fairseq/issues/2012#issuecomment-622607286 (for both fp32 and fp16) cc @ngimel @VitalyFedyunin
module: performance,module: cuda,triaged
low
Major
611,153,954
create-react-app
Support TypeScript namespace
https://github.com/welldone-software/why-did-you-render > You can also manually track any component you want by setting whyDidYouRender on them like this: ```js function BigListPureComponent() { return <div> //some heavy component you want to ensure doesn't happen if its not neceserry </div> } BigListPureComponent.whyDidYouRender = true ``` In TypeScript, if we want whyDidYouRender be `readonly`, we should write: ```ts function BigListPureComponent() { return <div> //some heavy component you want to ensure doesn't happen if its not neceserry </div> } namespace BigListPureComponent { export const whyDidYouRender = true; } ``` But CRA doesn't support namespace now.
issue: proposal,needs triage
low
Minor
611,174,405
PowerToys
Feature Request: Crop Picture
# Summary of the new feature/enhancement Simple interface to CROP an image # Proposed technical implementation details (optional) -Right-Click image -Select "Crop Picture" -Image appears with bounding box and horizontal and vertical handles at edges and corners -Select one of the "aspect ratio's": original, free, 1/1, 4/3, 3/2, 16/9 ... -Drag vertical or horizontal edges or corners inwards (while outside area appears darker) -Using ALT-key while dragging corner will resize all edges at once (similar to Photoshop). -Using ALT-key while dragging edge will resize opposite edges at once (similar to Photoshop). -Click Ok or Cancel: Ok will save cropped image in original format adding (Cropped) to name.
Idea-Enhancement,Product-Image Resizer
low
Major
611,177,406
rust
opportunistically evaluate constants while populating `mir::Body::required_consts`
We can evaluate all constants that do not depend on generic parameters in https://github.com/rust-lang/rust/blob/0b958790b336738540d027d645718713849638d7/src/librustc_mir/transform/required_consts.rs#L19 We make that a `MutVisitor` that evaluates all constants that it can and replaces them in-place and only adds those that it couldn't evaluate to the `required_const` list. This way we never have to evaluate another constant in the entire MIR optimization pipeline, because we know none can be evaluated (modulo those that we already evaluate for merging `required_const`s during inlining. cc @rust-lang/wg-mir-opt I think I like having the above invariant. It will make working with constants in MIR much simpler and make any kind of error handling that would have to be implemented unified into a single location.
C-cleanup,T-compiler,A-const-eval,A-mir-opt,A-mir-opt-inlining
low
Critical
611,203,111
vscode
[html] No values suggested for `autocapitalize`
- VSCode Version: 1.45.0 - OS Version: macOS 10.15.4 Steps to Reproduce: 1. Copy the following to an HTML file: `<div role="" autocapitalize=""></div>` 2. Notice that there is autocompletion for the role's attribute values but, even though VS Code knows about autocapitalize's values (shown when you are autocompleting that attribute), it does not show suggestions for it's values. Does this issue occur when all extensions are disabled? Yes
feature-request,html
low
Minor
611,212,278
go
os/user: query systemd’s User/Group Record Lookup API in non-cgo environments before parsing /etc/passwd?
I recently learnt about [systemd’s “User/Group Record Lookup API via Varlink”](https://systemd.io/USER_GROUP_API/). It’s a new service introduced by systemd v245 (released March 6th 2020) which can take the role of getpwnam(3) and related calls. We could consider this as an option for [`os/user`](https://golang.org/pkg/os/user/), which currently integrates with [Name Service Switch (NSS)](https://www.gnu.org/software/libc/manual/html_node/Name-Service-Switch.html) only when cgo is available. In non-cgo environments, we could try querying [`systemd-userdbd.service(8)`](https://www.freedesktop.org/software/systemd/man/systemd-userdbd.html) before falling back to the current behavior of parsing `/etc/passwd`. There are two possible ways to query the service: 1. Parsing `userdbctl --output=json`. The upside is that userdbctl itself queries NSS if systemd-userdbd is not working. The downside is that we are relying on an external process. I’m not sure how this is regarded in the standard library, and whether overhead of os/user is of concern? 2. If we wanted to avoid the process overhead, we could integrate with systemd-userdbd directly. I implemented a [<100-line proof of concept](https://play.golang.org/p/d8m7BQlnQtV) which prints just the user name. The [User/Group Record Lookup API](https://systemd.io/USER_GROUP_API/) uses a subset of [varlink](https://varlink.org/), which boils down to sending and receiving 0-terminated JSON messages over a Unix socket. Appendix: <details><summary><code>userdbctl --output=json</code> Output</summary><br><pre> { "userName" : "root", "uid" : 0, "gid" : 0, "homeDirectory" : "/root", "shell" : "/bin/zsh", "privileged" : { "hashedPassword" : [ "$6$wKUquM/L7HzvV5eI$dhexy2iU1efxnYe6k0rm4qT8D1TOgAVtYYyjC5wZeClK.ETeCfPCn0xmwZKK/l8MtzJhtSPTsWEopILQXbA.40" ] }, "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "nobody", "uid" : 65534, "gid" : 65534, "realName" : "Nobody", "homeDirectory" : "/", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-network", "uid" : 983, "gid" : 983, "realName" : "systemd Network Management", "homeDirectory" : "/", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-resolve", "uid" : 982, "gid" : 982, "realName" : "systemd Resolver", "homeDirectory" : "/", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-timesync", "uid" : 981, "gid" : 981, "realName" : "systemd Time Synchronization", "homeDirectory" : "/", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-coredump", "uid" : 980, "gid" : 980, "realName" : "systemd Core Dumper", "homeDirectory" : "/", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-network", "uid" : 101, "gid" : 101, "realName" : "network", "homeDirectory" : "/run/systemd/netif", "shell" : "/bin/false", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "systemd-resolve", "uid" : 105, "gid" : 105, "realName" : "resolve", "homeDirectory" : "/run/systemd/resolve", "shell" : "/bin/false", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "sshd", "uid" : 102, "gid" : 102, "homeDirectory" : "/", "shell" : "/bin/false", "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "messagebus", "uid" : 106, "gid" : 106, "homeDirectory" : "/var/run/dbus", "shell" : "/bin/false", "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "lightdm", "uid" : 979, "gid" : 979, "realName" : "Light Display Manager", "homeDirectory" : "/var/lib/lightdm", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } { "userName" : "polkitd", "uid" : 978, "gid" : 978, "realName" : "PolicyKit Daemon", "homeDirectory" : "/etc/polkit-1", "shell" : "/bin/nologin", "passwordChangeNow" : false, "lastPasswordChangeUSec" : 1588377600000000, "status" : { "12f5c9abd57d4914abe2d5cb4958378b" : { "service" : "io.systemd.NameServiceSwitch" } } } </pre></details>
NeedsInvestigation
low
Major
611,216,218
flutter
Consider making resized image provider API default
Given that it benefits the memory and the intended affect is that the quality of the rendered image shouldn't see a drop. If there aren't any other downsides and once the API matures it might make sense to make this the default behavior.
framework,a: images,c: proposal,P3,team-framework,triaged-framework
low
Minor
611,225,471
go
cmd/go: "package … is not in GOROOT" is confusing in module mode when the package would exist in GOPATH mode
### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.2 linux/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env </pre></details> ### What did you do? If a parent folder contained a `go.mod` this overrides the GOPATH setting and there is no clear indication this is happening. lets say the following exists in the file system ``` /work/go.mod ``` and say you create a folder like ``` /work/projects/x/src/my/test2/main.go ``` and you export the GOPATH to point to your project ``` export GOPATH=/work/projects/x/ ``` You will get an error like ``` can't load package: package my/test2 is not in GOROOT (/home/me/.gvm/gos/go1.14.2/src/my/test2) ``` And much time and head bashing will occur because you dont realize that go is using the `/work/go.mod` and overrides your `GOPATH` that you defined. This behavior is different then go 1.12 as well (it compiles without issue) so that adds to the confusion. (To be fair... I am totally guilty as sin for my own nasty creation, but there should be a better way of pointing out the root cause.) ### What did you expect to see? It would be great to see some reference to the `go.mod` file in the error message and not the `GOROOT`. ``` can't load package: package my/test2 is not in GOROOT (/home/me/.gvm/gos/go1.14.2/src/my/test2) with (/work/go.mod) ``` Or even more directly ``` can't load package: package my/test2 is not in go.mod (/work/my/test2) ``` I agree the former error is not wrong, but it is pointing in the wrong direction ### What did you see instead? ``` can't load package: package my/test2 is not in GOROOT (/home/me/.gvm/gos/go1.14.2/src/my/test2) ```
NeedsInvestigation,modules
high
Critical
611,244,141
flutter
Widgets can't be placed in a const set due to ==/hashCode override
All widgets have an override of `==` and `hashCode` which is marked non-virtual to discourage users from implementing it: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/framework.dart#L508 Placing a widget in a const set literal results in the diagnostic: `const_set_element_type_implements_equals`. ``` const { Text('hello') } ``` While this is technically true, it seems like we could detect that the implementations are trivial? Another approach would be to allow `@nonVirtual` to annotate declarations made in the superclass without providing an implementation. ``` abstract class Widget { @nonVirtual int get hashCode; @nonVirtual bool operator ==(Object other); } ```
framework,dependency: dart,c: proposal,P2,team-framework,triaged-framework
low
Minor
611,259,417
flutter
Device Discovery of Custom Embedders
## Use case Currently the flutter tools do not provide a mechanism for custom embedders to register as a device, like how `linux` appears when running `flutter devices`. Currently for [flutter-rs](https://github.com/flutter-rs) we invoke `flutter attach` with the observatory URL, which is quite limiting. If we had some method for registering the "device"/application instance, all tooling including cli and IDEs would show the instance as being available to attach to, and therefore would allow easy debugging. ## Proposal A few different approaches I have thought of so far - Plugin support for flutter_tools A flutter command such as `flutter add-tool flutter-rs-dev` could fetch and install a `pub.dev` package that will be given a chance to register a `DeviceDiscovery` handler for example. Or given other such hooks. This would allow for maximum flexibility. And in the future would allow other hooks to be added, such as wiring up `futter run`. - JSON Device Another form of device discovery could be added, where if a `custom_device.json` file exists in the root of the project, it reads this file to find a name and observatory url combination. This would be very simple, and wouldn't require many changes. - Some other form of embedder discovery Some other mechanism to detect when an observatory is started.
c: new feature,tool,engine,e: embedder,c: proposal,P3,team-engine,triaged-engine
medium
Critical
611,261,423
nvm
Reformat output of "nvm --help" and others to consider line-wrapping
It is very difficult to read the output of `nvm --help` (and other outputs with long lines) on the default terminal width of 80 characters. Here's what it looks like: ``` Node Version Manager (v0.35.3) Note: <version> refers to any version-like string nvm understands. This includes : - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2 , v1) - default (built-in) aliases: node, stable, unstable, iojs, system - custom aliases you define with `nvm alias foo` Any options that produce colorized output should respect the `--no-colors` opti on. Usage: nvm --help Show this message nvm --version Print out the installed version of n vm nvm install [-s] <version> Download and install a <version>, [- s] from source. Uses .nvmrc if available --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number> --lts When installing, only select from LT S (long-term support) versions --lts=<LTS name> When installing, only select from ve rsions for a specific LTS line --skip-default-packages When installing, skip the default-pa ckages file if it exists --latest-npm After installing, attempt to upgrade to the latest working npm on the given node version --no-progress Disable the progress bar on any down loads nvm uninstall <version> Uninstall a version nvm uninstall --lts Uninstall using automatic LTS (long- term support) alias `lts/*`, if available. nvm uninstall --lts=<LTS name> Uninstall using automatic alias for provided LTS line, if available. nvm use [--silent] <version> Modify PATH to use <version>. Uses . nvmrc if available --lts Uses automatic LTS (long-term suppor t) alias `lts/*`, if available. --lts=<LTS name> Uses automatic alias for provided LT S line, if available. nvm exec [--silent] <version> [<command>] Run <command> on <version>. Uses .nv mrc if available --lts Uses automatic LTS (long-term suppor t) alias `lts/*`, if available. --lts=<LTS name> Uses automatic alias for provided LT S line, if available. nvm run [--silent] <version> [<args>] Run `node` on <version> with <args> as arguments. Uses .nvmrc if available --lts Uses automatic LTS (long-term suppor t) alias `lts/*`, if available. --lts=<LTS name> Uses automatic alias for provided LT S line, if available. nvm current Display currently activated version of Node nvm ls [<version>] List installed versions, matching a given <version> if provided --no-colors Suppress colored output --no-alias Suppress `nvm alias` output nvm ls-remote [<version>] List remote versions available for i nstall, matching a given <version> if provided --lts When listing, only show LTS (long-te rm support) versions --lts=<LTS name> When listing, only show versions for a specific LTS line --no-colors Suppress colored output nvm version <version> Resolve the given description to a s ingle local version nvm version-remote <version> Resolve the given description to a s ingle remote version --lts When listing, only select from LTS ( long-term support) versions --lts=<LTS name> When listing, only select from versi ons for a specific LTS line nvm deactivate Undo effects of `nvm` on current she ll nvm alias [<pattern>] Show all aliases beginning with <pat tern> --no-colors Suppress colored output nvm alias <name> <version> Set an alias named <name> pointing t o <version> nvm unalias <name> Deletes the alias named <name> nvm install-latest-npm Attempt to upgrade to the latest wor king `npm` on the current node version nvm reinstall-packages <version> Reinstall global `npm` packages cont ained in <version> to current version nvm unload Unload `nvm` from shell nvm which [current | <version>] Display path to installed node versi on. Uses .nvmrc if available nvm cache dir Display path to the cache directory for nvm nvm cache clear Empty cache directory for nvm Example: nvm install 8.0.0 Install a specific version number nvm use 8.0 Use the latest available 8.0.x release nvm run 6.10.3 app.js Run app.js using node 6.10.3 nvm exec 4.8.3 node app.js Run `node app.js` with the PATH pointing to node 4.8.3 nvm alias default 8.1.0 Set default node version on a shell nvm alias default node Always default to the latest available n ode version on a shell Note: to remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usual ly `~/.nvm`) ``` There are different approaches to improve the experience. One approach is simply to add line breaks in between entries. This decreases the vertical density of information, has significantly-improved scannability, and is still responsive to variable-width terminals: ``` Node Version Manager (v0.35.3) Note: <version> refers to any version-like string nvm understands. This includes : - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2 , v1) - default (built-in) aliases: node, stable, unstable, iojs, system - custom aliases you define with `nvm alias foo` Any options that produce colorized output should respect the `--no-colors` opti on. Usage: nvm --help Show this message nvm --version Print out the installed version of n vm nvm install [-s] <version> Download and install a <version>, [- s] from source. Uses .nvmrc if available --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number> --lts When installing, only select from LT S (long-term support) versions --lts=<LTS name> When installing, only select from ve rsions for a specific LTS line --skip-default-packages When installing, skip the default-pa ckages file if it exists --latest-npm After installing, attempt to upgrade to the latest working npm on the given node version --no-progress Disable the progress bar on any down loads nvm uninstall <version> Uninstall a version ...etc. ``` Another way is keeping the indentation as-is and hard-wrapping lines at 80 characters. This approach doesn't utilize the available display area in wider terminals: ``` Node Version Manager (v0.35.3) Note: <version> refers to any version-like string nvm understands. This includes: - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1) - default (built-in) aliases: node, stable, unstable, iojs, system - custom aliases you define with `nvm alias foo` Any options that produce colorized output should respect the `--no-colors` option. Usage: nvm --help Show this message nvm --version Print out the installed version of nvm nvm install [-s] <version> Download and install a <version>, [-s] from source. Uses .nvmrc if available --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number> --lts When installing, only select from LTS (long-term support) versions --lts=<LTS name> When installing, only select from versions for a specific LTS line --skip-default-packages When installing, skip the default-packages file if it exists --latest-npm After installing, attempt to upgrade to the latest working npm on the given node version --no-progress Disable the progress bar on any downloads nvm uninstall <version> Uninstall a version ...etc. ``` Another tool to look at is [`fold`](https://ss64.com/bash/fold.html).
feature requests
low
Major
611,272,112
node
VM ESM with dynamic imports resolves promises before linking is complete
<!-- Thank you for reporting an issue. This issue tracker is for bugs and issues found within Node.js core. If you require more general support please file an issue on our help repo. https://github.com/nodejs/help Please fill in as much of the template below as you're able. Version: output of `node -v` Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify affected core module name --> * **Version**: v14.1.0 * **Platform**: Darwin Simens-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Mon Feb 10 21:08:45 PST 2020; root:xnu-4903.278.28~1/RELEASE_X86_64 x86_64 * **Subsystem**: VM, ESM ### What steps will reproduce the bug? See https://github.com/SimenB/node-vm-esm-promise-awaiting Run `node --experimental-vm-modules index.js` to reproduce. <!-- Enter details about your bug, preferably a simple code snippet that can be run using `node` directly without installing third-party dependencies. --> ### How often does it reproduce? Is there a required condition? Almost every time. There seems to be some race condition in there. I've added a manual timeout in there - tweak its numbers to see different behavior. In the code the timeout is 1 second and then one of the tests fail almost every time. Increasing the timeoyt will often make both tests fail ### What is the expected behavior? All linking and execution should happen before the promises resolve. <!-- If possible please provide textual output instead of screenshots. --> ### What do you see instead? The promises resolve, so the internal state of `completed` is set to `true`, which later throws. <!-- If possible please provide textual output instead of screenshots. --> ### Additional information The reproduction is adapted from a bug report to Jest (https://github.com/facebook/jest/issues/9430#issuecomment-622664754), so apologies if it looks a little wonky. I've tried to emulate sorta what happens under the hood in Jest down to solely node core modules. Note that I might very well have gotten some semantics wrong in the dynamic linking, so please tell me if I'm doing something really dumb in the reproduction (except having no module cache at all) - I've probably made the same mistake in Jest's implementation. Main difference is that the calls will linger - In jest these would all be inside `test()` calls or some such that we execute later. I don't think it impacts the reproduction much though - the promises resolve seconds before linking complete, so I don't think it's necessarily tied to dangling promises. I might very well be wrong though. For some extra context if it's helpful, here's Jest's implementation: https://github.com/facebook/jest/blob/7a3c9977847cc9fafed6f6662289f3c35e44e0c6/packages/jest-runtime/src/index.ts#L323-L456 It's spread a bit around, but those are the essential bits where we use the VM APIs. <!-- Tell us anything else you think we should know. -->
vm,esm
low
Critical
611,275,401
flutter
Embedder Engine build artifacts missing in Target build to generate AOT image
## Generating an AOT image for Target Linux Embedder Engine requires a Host Engine build. Required tools to generate a target AOT (linux arm/arm64) are missing from Target build, which involves needing to build for Host to get the tools. ``` out/host_release/dart-sdk/bin/dart out/host_release/gen/frontend_server.dart.snapshot ``` This is with master. Target build config ``` GN_ARGS = " \ --clang \ --target-os linux \ --linux-cpu ${@gn_target_arch_name(d)} \ --target-sysroot ${STAGING_DIR_TARGET} \ --target-triple ${@gn_clang_triple_prefix(d)} \ --target-toolchain ${S}/buildtools/linux-x64/clang \ --runtime-mode release \ --embedder-for-target \ --enable-fontconfig \ --lto \ --full-dart-sdk \ --disable-desktop-embeddings \ " ``` I documented steps that built me an AOT ELF image here: https://github.com/jwinarske/meta-flutter/issues/7
engine,e: embedder,platform-linux,P2,team-engine,triaged-engine
low
Minor
611,275,812
TypeScript
`allowUnusedLabels` should be false in the --init configuration
**TypeScript Version:** nightly <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** allowUnusedLabels **Code** Compile with `tsc --init` ```ts console.log("a", "b"), { value: 3 }; ``` **Expected behavior:** This should be an error; the closing paren was misplaced **Actual behavior:** No error **Playground Link:** https://www.typescriptlang.org/play?#code/MYewdgziA2CmB00QHMAUAiAhugNAAnQCN0BKfAbzwDdNoBXWALjwGY8BfAbgCgg **Related Issues:** No
Suggestion,In Discussion
low
Critical
611,284,167
godot
alpha Shaders on sprites cause weird issues
**Godot version:** 3.2.1 **OS/device including version:** Windows 10 **Issue description:** As title Suggests, editing the alpha values on a sprite with a shader causes the sprite to stretch out oddly, as seen below, as well as losing previous transparency values ![image](https://user-images.githubusercontent.com/19394539/80893308-1f51ef80-8cc9-11ea-96eb-603ebe0541fc.png) to recreate, simply specify COLOR.a to be any valid value
topic:rendering
low
Minor
611,296,057
vscode
Git - "Revert selected ranges" doesn't work for staged chunks
1. Have a line changed and git staged 2. Select range in side-by side diff editor 2. Context-click range, see `"Revert Selected Range"` entry 2. Attempt to run it (or invoke the command manually) 2. Nothing happens. I think it either shouldn't be shown in the context menu/command pallete, or it should work.
feature-request,git
low
Major
611,296,642
neovim
Scrolling problems on large files when reversing scroll direction. Letters get inserted.
<!-- Before reporting: search existing issues and check the FAQ. --> - `nvim --version`: NVIM v0.5.0-3de9452 - `vim -u DEFAULTS` (version: ) behaves differently? Issue does not occur in Vim8 or MacVim. - Operating system/version: macOS Catalina - Terminal name/version: iTerm2 3.3.9 - `$TERM`: xterm-256color ### Steps to reproduce using `nvim -u NORC` 1. Open a large typescript file (mine was 5600 lines). 2. syntax on 3. Make sure there is inertial scrolling in macOS. It also happens without inertial scrolling on (but harder to do). Without inertial scrolling, you can scroll really fast and then for some reason inertial scrolling effects turn on (it continues scrolling even if you stop) and causes the problem. 4. Scroll as fast as you can downwards. Once you hit the bottom of the page, immediately scroll as fast as you can upwards. Once you hit the top of the file, keep scrolling up. ``` nvim -u NORC # Alternative for shell-related problems: # env -i TERM=ansi-256color "$(which nvim)" ``` ### Actual behaviour - Letters `B` will get inserted as newlines at the bottom, and `A` gets inserted when you hit the top of the file. - Also experience some UI skipping when scrolling up. - If I scroll down and halfway reverse direction and scroll up, it continues scrolling down. ### Expected behaviour - No letters being inserted if reversing scroll direction. - No UI skipping - I should be able to reverse scroll direction instantly I've been able to reproduce this bug in iTerm2, Kitty, and Alacritty, but it does not seem to happen in the default macOS Terminal.app. If I turn on all my plugins, and I do the same scroll, the problem is exacerbated. By the time I hit the bottom of the file, it just gets stuck there and I have to kill neovim. After killing I get these escape codes sent to the terminal: <img width="1538" alt="image" src="https://user-images.githubusercontent.com/109630/80895377-da6a9080-8ca9-11ea-83b1-77aa870e8688.png"> ^[[<65;59;12M
bug
low
Critical
611,324,615
flutter
[in_app_purchase] Failed pending purchases are not acknowledged (Android)
## Steps to Reproduce 1. Load in_app_purchase plugin 2. Make a self declining purchase with a slow test card on Android 3. Restart application 4. Fetch past purchases with InAppPurchaseConnection.queryPastPurchases() **Expected results:** Failed purchases should either be acknowledged or decoded with PurchaseStatus.failed. **Actual results:** Failed purchases are not acknowledged and are marked as PurchaseStatus.pending when fetched with InAppPurchaseConnection.queryPastPurchases(). Neither completePurchase() nor consumePurchase() are able to acknowledge a pending failed purchase once its status is changed to failed on Google Play.
platform-android,p: in_app_purchase,package,a: production,P3,team-android,triaged-android
low
Critical
611,331,067
youtube-dl
Site support: gunstreamer.com
<!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.05.03. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a new site support request - [x] I've verified that I'm running youtube-dl version **2020.05.03** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that none of provided URLs violate any copyrights - [x] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> **Video using YouTube backend:** Single video: https://gunstreamer.com/watch/canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.html Current output JSON: `{"formats": [{"ext": "youtube", "width": null, "height": null, "tbr": null, "format_id": "0", "url": "https://www.youtube.com/watch?v=8fV-i3QDR6g", "vcodec": null, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3706.6 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-us,en;q=0.5", "Referer": "https://gunstreamer.com/watch/canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.html"}, "format": "0 - unknown", "protocol": "https"}], "subtitles": {}, "thumbnail": "https://i.ytimg.com/vi/8fV-i3QDR6g/maxresdefault.jpg", "id": "canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw", "title": "Canada Prime Minister Bans AR15s w/ No Vote, No Democracy, No Debate", "n_entries": 1, "playlist": "Canada Prime Minister Bans AR15s w/ No Vote, No Democracy, No Debate", "playlist_id": "canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw", "playlist_title": "Canada Prime Minister Bans AR15s w/ No Vote, No Democracy, No Debate", "playlist_uploader": null, "playlist_uploader_id": null, "playlist_index": 1, "extractor": "generic", "webpage_url": "https://gunstreamer.com/watch/canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.html", "webpage_url_basename": "canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.html", "extractor_key": "Generic", "thumbnails": [{"url": "https://i.ytimg.com/vi/8fV-i3QDR6g/maxresdefault.jpg", "id": "0"}], "display_id": "canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw", "requested_subtitles": null, "ext": "youtube", "width": null, "height": null, "tbr": null, "format_id": "0", "url": "https://www.youtube.com/watch?v=8fV-i3QDR6g", "vcodec": null, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3706.6 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-us,en;q=0.5", "Referer": "https://gunstreamer.com/watch/canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.html"}, "format": "0 - unknown", "protocol": "https", "fulltitle": "Canada Prime Minister Bans AR15s w/ No Vote, No Democracy, No Debate", "_filename": "Canada Prime Minister Bans AR15s w_ No Vote, No Democracy, No Debate-canada-prime-minister-bans-ar15s-w-no-vote-no-democracy-no-debate_4xaFfEPH5JoXpYw.youtube"} ` **Video using AWS:** Single video: https://gunstreamer.com/watch/heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.html Current output JSON: `{"formats": [{"ext": "mp4", "width": null, "height": null, "tbr": null, "format_id": "0", "url": "https://gunstreamer.s3.amazonaws.com/upload/videos/2020/05/IjVpDfpEuji26KmwgVq1_02_9770_a912d3828e133ff35f4a91869973f054.mp4", "vcodec": null, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3528.0 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-us,en;q=0.5", "Referer": "https://gunstreamer.com/watch/heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.html"}, "format": "0 - unknown", "protocol": "https"}], "subtitles": {}, "thumbnail": "https://gunstreamer.s3.amazonaws.com/upload/photos/2020/05/rsPxrYSA9QQ31s7nNsbH_02_25716405d71b7f6cbbed410c38fbfbf9_image.jpg", "id": "heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt", "title": "Heritage Rough Rider 6.5 VS 16 Inch Barrel", "n_entries": 1, "playlist": "Heritage Rough Rider 6.5 VS 16 Inch Barrel", "playlist_id": "heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt", "playlist_title": "Heritage Rough Rider 6.5 VS 16 Inch Barrel", "playlist_uploader": null, "playlist_uploader_id": null, "playlist_index": 1, "extractor": "generic", "webpage_url": "https://gunstreamer.com/watch/heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.html", "webpage_url_basename": "heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.html", "extractor_key": "Generic", "thumbnails": [{"url": "https://gunstreamer.s3.amazonaws.com/upload/photos/2020/05/rsPxrYSA9QQ31s7nNsbH_02_25716405d71b7f6cbbed410c38fbfbf9_image.jpg", "id": "0"}], "display_id": "heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt", "requested_subtitles": null, "ext": "mp4", "width": null, "height": null, "tbr": null, "format_id": "0", "url": "https://gunstreamer.s3.amazonaws.com/upload/videos/2020/05/IjVpDfpEuji26KmwgVq1_02_9770_a912d3828e133ff35f4a91869973f054.mp4", "vcodec": null, "http_headers": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3528.0 Safari/537.36", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-us,en;q=0.5", "Referer": "https://gunstreamer.com/watch/heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.html"}, "format": "0 - unknown", "protocol": "https", "fulltitle": "Heritage Rough Rider 6.5 VS 16 Inch Barrel", "_filename": "Heritage Rough Rider 6.5 VS 16 Inch Barrel-heritage-rough-rider-6-5-vs-16-inch-barrel_rJ5zQigbHLFuBTt.mp4"}` ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> While access to the videos is available for the AWS pages, the YouTube pages are utilizing the `iframe` element with custom controls overlay and causing an incorrect `-F` output. Neither the AWS or YouTube pages accurately provide the description for the video, which is located in the `<p dir="auto" itemprop="description">` element. No playlists seem to be present on this site. User page URLs appear as: https://gunstreamer.com/@Armed_Republic https://gunstreamer.com/@clovertac Videos tab of user pages: https://gunstreamer.com/@clovertac?page=videos https://gunstreamer.com/@Armed_Republic?page=videos Videos on this page, in this tab, are under the element `<div class="videos-latest-list">` and more videos are provided by clicking "Show More" at the bottom. More videos are loaded via AJAX, sending form data to https://gunstreamer.com/aj/load-more/profile_videos?views=25 with the following data: `hash=5ef4eb9ac496119427d62df22e1c1e898e8af09f&last_id=131070&ids%5B0%5D=133437&ids%5B1%5D=133394&ids%5B2%5D=133257&ids%5B3%5D=133142&ids%5B4%5D=133068&ids%5B5%5D=133009&ids%5B6%5D=132933&ids%5B7%5D=132789&ids%5B8%5D=132782&ids%5B9%5D=132739&ids%5B10%5D=132630&ids%5B11%5D=131717&ids%5B12%5D=131642&ids%5B13%5D=131610&ids%5B14%5D=131520&ids%5B15%5D=131330&ids%5B16%5D=131325&ids%5B17%5D=131272&ids%5B18%5D=131106&ids%5B19%5D=131070&keyword=&user_id=1585`
site-support-request
low
Critical
611,355,554
godot
Cannot run Godot on virtual X desktop with xvfb-run and lavapipe
**Godot version:** Godot 4.0(Vulkan) - 4.0.dev.custom_build. f5cd33f39 it works fine with Godot 3.2 GLES 2, 3 **OS/device including version:** Ubuntu 20.04 **Issue description:** When I try to open master Godot 4.0 branch in virtual X desktop, then I got a crash: ``` WARNING: XOpenIM failed at: DisplayServerX11 (platform/linuxbsd/display_server_x11.cpp:3475) ERROR: Cant find layer: VK_LAYER_KHRONOS_validation at: _check_layers (drivers/vulkan/vulkan_context.cpp:158) ERROR: Cant find layer: VK_LAYER_LUNARG_standard_validation at: _check_layers (drivers/vulkan/vulkan_context.cpp:158) ERROR: Cant find layer: VK_LAYER_GOOGLE_threading at: _check_layers (drivers/vulkan/vulkan_context.cpp:158) ERROR: Condition "err" is true. returned: ERR_CANT_CREATE at: _create_physical_device (drivers/vulkan/vulkan_context.cpp:353) thirdparty/vulkan/loader/loader.h:396:83: runtime error: load of misaligned address 0xbebebebebebebebe for type 'struct VkLayerDispatchTable *', which requires 8 byte alignment 0xbebebebebebebebe: note: pointer points here <memory cannot be printed> handle_crash: Program crashed with signal 11 Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues [1] godots() [0x17c49da] (/mnt/Miecz/godot/platform/linuxbsd/crash_handler_linuxbsd.cpp:54) [2] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f7a9de14210] (??:0) [3] godots() [0x64bccf2] (/mnt/Miecz/godot/thirdparty/vulkan/loader/loader.h:396) [4] godots(vkDestroyFence+0x24) [0x64c91ed] (/mnt/Miecz/godot/thirdparty/vulkan/loader/trampoline.c:1030) [5] VulkanContext::~VulkanContext() (/mnt/Miecz/godot/drivers/vulkan/vulkan_context.cpp:1596) [6] VulkanContextX11::~VulkanContextX11() (/mnt/Miecz/godot/platform/linuxbsd/vulkan_context_x11.cpp:56) [7] void memdelete<VulkanContextX11>(VulkanContextX11*) (/mnt/Miecz/godot/./core/os/memory.h:119) [8] DisplayServerX11::DisplayServerX11(String const&, DisplayServer::WindowMode, unsigned int, Vector2i const&, Error&) (/mnt/Miecz/godot/platform/linuxbsd/display_server_x11.cpp:3538) [9] DisplayServerX11::create_func(String const&, DisplayServer::WindowMode, unsigned int, Vector2i const&, Error&) (/mnt/Miecz/godot/platform/linuxbsd/display_server_x11.cpp:3141) [10] DisplayServer::create(int, String const&, DisplayServer::WindowMode, unsigned int, Vector2i const&, Error&) (/mnt/Miecz/godot/servers/display_server.cpp:563) [11] Main::setup2(unsigned long) (/mnt/Miecz/godot/main/main.cpp:1261) [12] Main::setup(char const*, int, char**, bool) (/mnt/Miecz/godot/main/main.cpp:1188) [13] godots(main+0x22b) [0x17c37a1] (/mnt/Miecz/godot/platform/linuxbsd/godot_linuxbsd.cpp:49) [14] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f7a9ddf50b3] (??:0) [15] godots(_start+0x2e) [0x17c34be] (??:?) ``` Fixing this bug will help a lot with testing Godot with CI **Steps to reproduce:** ``` apt install -y xvfb xvfb-run godot ```
bug,platform:linuxbsd,topic:rendering,confirmed,topic:thirdparty,crash
low
Critical
611,367,577
go
x/tools/go/packages: handle import cycles in tests
In its current implementation, the `go list` driver in `go/packages` looks for the error message `import cycle not allowed` and if found appends the error's ImportStack to the error message, resulting in `import cycle not allowed: import stack: [sandbox/foo sandbox/bar sandbox/foo]`. This misses import cycles in tests, which instead use the error message `import cycle not allowed in test`. However, simply checking for this error and appending the import stack is not a viable solution. The message produced would look like this: `import cycle not allowed in test: import stack: [honnef.co/go/tools/unused (test) honnef.co/go/tools/lint honnef.co/go/tools/runner honnef.co/go/tools/unused]` – this is problematic because `gopls` extracts the import stack from the string via some basic string matching and splitting on whitespace. It would ultimately believe that `(test)` is the package we're trying to import. Unfortunately, go/packages returns a `type Error struct`, and not an interface, so the obvious solution of returning a structured type is not applicable. We could wrap each import path in quotes, but then gopls has a harder time extracting the paths. However, I don't see any other way. /cc @matloob @stamblerre
NeedsFix,Tools
low
Critical
611,371,222
TypeScript
Import star should work with export type
<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ --> ## Search Terms import star export type ## Suggestion See the code below. ## Use Cases See the code below. ## Examples ```ts // a.ts const a = 1 export type { a } // expected to be used as type only, user case: sharing type rather than value between source code between nodejs and browser const b = 1 export type { b } // export other types // c.ts import * as c from './a' // to avoid: import { a as a1, b as b1 } from './a' declare const a: typeof c.a declare const b: typeof c.b ``` ## Checklist My suggestion meets these guidelines: * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [x] This wouldn't change the runtime behavior of existing JavaScript code * [x] This could be implemented without emitting different JS based on the types of the expressions * [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).
Suggestion,Awaiting More Feedback
low
Critical
611,384,331
pytorch
Variational Dropout In RNN
## 🚀 Feature Original LSTM cell uses dropout that uses different mask at every time step which is ad-Hoc.According this paper we should use same dropout masks at every time step. [Variational RNN](https://arxiv.org/pdf/1512.05287.pdf) Here is the screenshot what should ideally happen ![Screenshot_2020-05-03 1512 05287 pdf](https://user-images.githubusercontent.com/50786143/80912419-6c31d680-8d5a-11ea-8d57-33b4d5c61838.png) ## Motivation As said current implementation is wrong and gives unstable results.So it is extremely important for it to use same dropout masks. cc @zou3519
module: rnn,triaged,enhancement
low
Minor
611,392,399
rust
Tracking Issue for const_btree_len
This tracks stabilization of the `const_btree_len` feature, which allows calling the below in a constant expression: - `BTree{Map,Set}::{len,is_empty}()` (#78581) ### Previously tracked here, already stable - `BTree{Map,Set}::new()` (#71839) ### Steps - [x] Implementation #71839 - [ ] Stabilization PR
A-collections,T-libs-api,C-tracking-issue,A-const-eval,disposition-merge,finished-final-comment-period,Libs-Tracked
medium
Major
611,395,427
rust
Lifetime elision makes arg lifetime depend on return value reference
A friend of mine started to learn Rust and he found an issue he could not solve on his own. Consider the following example: ``` fn f(_x: &u32) -> &str { "42" } fn y(_s: &'static str) { } fn main() { let x = 42; let z = f(&x); y(z); } ``` https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=c365c6180c2bb738a7bc70e4a3587f77 Error: ``` error[E0597]: `x` does not live long enough --> src/main.rs:9:15 | 9 | let z = f(&x); | --^^- | | | | | borrowed value does not live long enough | argument requires that `x` is borrowed for `'static` 10 | y(z); 11 | } | - `x` dropped here while still borrowed ``` I believe the reason he got this error is because lifetime elision inserted a hidden lifetime into `fn f(&u32) -> &str` -> `fn f<'a>(&'a u32) -> &'a str`. However we know that these references are hardly connected. Instead of error `argument requires that `x` is borrowed for 'static` I would expect to see a helpful suggestion to add `'static` lifetime to a return reference: `fn f(_x: &u32) -> &'static str`. ``` rustc --version 1.43.0 ```
A-diagnostics,A-lifetimes,A-borrow-checker,T-compiler,D-terse
low
Critical
611,414,554
electron
Support keyboard shortcuts for PDF zooming
<!-- As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can. --> ### Preflight Checklist <!-- Please ensure you've completed the following steps by replacing [ ] with [x]--> * [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project. * [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success. ### Problem Description It seems that the only way to zoom in/out of document within PDF viewer is to click the `+` and `-` buttons in the lower right. ![image](https://user-images.githubusercontent.com/8367927/80915252-e71cd200-8d05-11ea-9b07-541dda79fe8d.png) It would be nice if user could also use `⌘+` and `⌘-` (or `CTRL+` / `CTRL-` on Windows). These keyboard shortcuts are supported in Chrome. E.g. https://www.fabfilter.com/help/ffproq3-manual.pdf ### Proposed Solution Implement above-stated keyboard shortcuts for document zooming. ### Alternatives Considered None. ### Additional Information I assume it would make sense for this issue to be tagged similarly to these issues: https://github.com/electron/electron/labels/component%2Fpdf-viewer --- I tried enabling page zooming via standard View menu in an Electron app I'm working on (`10.0.0-nightly.20200221`, Mac OS 10.14.6). That did allow for page zooming, but the pdf loaded into an `<embed>` tag did not appear to be affected when the embed was focused and I was zooming in/out with keyboard shortcuts. The non-Electron web version of my app (same code minus Electron wrapper) zooms as expected when opened in Chrome.
bug :beetle:,component/pdf-viewer,status/confirmed,9-x-y,10-x-y
low
Major
611,423,913
go
x/crypto/ssh: CertChecker.CheckCert ability to check against multiple principals
### What version of Go are you using (`go version`)? ``` $ go version go version go1.13.4 linux/amd64 ``` ### Does this issue reproduce with the latest release? N/A (`x/crypto` is separate dependency) ### What operating system and processor architecture are you using (`go env`)? N/A for this issue (Linux x86_64) ### What did you do? I was testing [pam-ussh](https://github.com/uber/pam-ussh/), which uses x/crypto to validate SSH certificates via ssh-agent before deciding to authorize sudo. The issue as it relates to pam-ussh is described here: https://github.com/uber/pam-ussh/issues/15 pam-ussh has its own logic for checking principals in certificates. However the certificate was being rejected by `CheckCert()` before it even got to that point. What's happening is this: pam-ussh calls CheckCert() to see if the certificate is valid. However it has a fixed policy, which is: if the certificate has any principals, then the supplied "principal" string value must appear in that list. Code: https://github.com/golang/crypto/blob/master/ssh/certs.go#L384 In the case of pam-ussh: because you *must* pass in a principal, it passes in the current username, and this enforces a policy that the bare username must appear as a principal in the certificate. This is equivalent to the default login policy with OpenSSH if you *don't* provide an [AuthorizedPrincipalsFile](https://man.openbsd.org/sshd_config#AuthorizedPrincipalsFile) or [AuthorizedPrincipalsCommand](https://man.openbsd.org/sshd_config#AuthorizedPrincipalsCommand) option. However if you do, the given file or script defines a *list* of possible principals which are permitted to appear in the certificate. CheckCert() doesn't appear to be able to handle this case: if the certificate has any principals, then only one item can be provided to match against it. If you pass an empty string then it will require the certificate to contain the empty principal (it's unclear if that's even a thing). ### What did you expect to see? The solution I prefer is to have a variant of CheckCert() which takes a slice of principals, instead of a single principal. If the certificate contains any principals, then at least one of them must be in this list. This replicates the checking policy of OpenSSH. (Aside: this implies that an empty list will never authorize a certificate which contains principals; that is I believe consistent with OpenSSH) The existing CheckCert() can then become a wrapper around this new function, passing its "principal" argument as a 1-element slice. Other options I considered: * Pass a callback function to CheckCert for checking principals * Add another callback function to the `CertChecker` struct. It would still receive the "principal" argument from CheckCert, but your callback function could treat it differently, e.g. parse it as a comma-separated list. If the function is nil, it would use the current logic. * Have a way to disable principal checking altogether in CheckCert, so that the caller can do their own check. Passing empty string for principal might be a way to do that, which would avoid any change to call signatures, although it depends whether certificates with empty principals are a useful "thing" or not. If not, it would simply be: ``` if len(principal) > 0 and len(cert.ValidPrincipals) > 0 { ```
NeedsInvestigation
low
Minor
611,426,469
godot
VisualScript. Pool Array functions without sequence port
**Godot version:** 3.2.1 Stable **OS/device including version:** Windows 10 64 bit **Issue description:** I think there's a problem in visual script with pool array variables. If you want to remove, add, insert, values to an existing pool array variable, and you add the functions "Pool XXXXXX array remove", "Pool XXXXXX array append", etc, you will notice that there is no sequence port and no output data port. ![Poolvector](https://user-images.githubusercontent.com/33732701/80916795-4527d480-8d5b-11ea-9405-4b3e62cec782.png)
bug,topic:editor,topic:visualscript
low
Minor
611,431,030
flutter
Specifying cacheWidth / cacheHeight can degrade the image quality
@iskakaushik asked me to post this as a separate issue from #48885. When using the `cacheWidth` and `cacheHeight` parameters, the resulting image has less details than without using the parameters, although they are set to the same values as the image's width and height. I was under the assumption that if I supply the same values to the `cacheWidth` / `cacheHeight` parameters as I do to the `width` / `height` parameters, then the quality should be exactly the same, but the cache uses the given dimensions instead of a possibly much larger native size. I thought the cache parameters are basically just a way to tell the engine that I will never draw the image in a higher resolution, so it is ok to cache it at the specified resolution in order to reduce memory footprint. However, as the pictures below show, when using the cache parameters, the image gets drawn in less quality, which is especially visible on the edges (e.g. compare the `e` or the `a`). Comparison pictures: Without cache: ![cache_no](https://user-images.githubusercontent.com/3159451/80917104-20ccf780-8d5d-11ea-9c87-3c39103439a0.png) With cache: ![cache_yes](https://user-images.githubusercontent.com/3159451/80917102-1e6a9d80-8d5d-11ea-991f-df25951b9da2.png) I stumbled upon this with a real picture in my app (that I can't share) and was wondering why it renders with these artifacts and found by chance that the artifacts are gone when I don't use the cache parameters. I originally noticed this on a Pixel 2, but the screenshots were taken from Android Emulator, where it is also clearly visible. Sample code: ``` import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold(appBar: AppBar(title: Text('Test')), backgroundColor: Colors.black, body: Image.asset( 'assets/test.png', width: 200, height: 200, cacheWidth: 200, cacheHeight: 200, ), ), ); } } ``` Source Image: <img width="240" height="240" src="https://user-images.githubusercontent.com/3159451/80917077-0561ec80-8d5d-11ea-8afb-424c4ba39290.png"> <details><summary>Logs</summary> ``` [ +40 ms] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +58 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 0b8abb4724aa590dd0f429683339b1e045a1594d [ ] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git describe --match v*.*.* --first-parent --long --tags [ +8 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.12.13+hotfix.8-0-g0b8abb472 [ +5 ms] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git rev-parse --abbrev-ref HEAD [ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +36 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +26 ms] executing: /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped/jre/bin/java -version [ +110 ms] Exit code 0 from: /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped/jre/bin/java -version [ +2 ms] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +11 ms] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git rev-parse --abbrev-ref --symbolic @{u} [ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git ls-remote --get-url origin [ +7 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +19 ms] executing: [/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git -c log.showSignature=false log -n 1 --pretty=format:%ar [ +8 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar [ ] 3 months ago [ +14 ms] executing: /home/nion/.cache/flutter/artifacts/engine/android-arm-profile/linux-x64/gen_snapshot [ +16 ms] Exit code 255 from: /home/nion/.cache/flutter/artifacts/engine/android-arm-profile/linux-x64/gen_snapshot [ ] At least one input is required Usage: gen_snapshot [<vm-flags>] [<options>] <dart-kernel-file> Common options: --help Display this message (add --verbose for information about all VM options). --version Print the VM version. To create a core snapshot: --snapshot_kind=core --vm_snapshot_data=<output-file> --isolate_snapshot_data=<output-file> <dart-kernel-file> To create an AOT application snapshot as assembly suitable for compilation as a static or dynamic library: --snapshot_kind=app-aot-assembly --assembly=<output-file> [--obfuscate] [--save-obfuscation-map=<map-filename>] <dart-kernel-file> To create an AOT application snapshot as an ELF shared library: --snapshot_kind=app-aot-elf --elf=<output-file> [--strip] [--obfuscate] [--save-obfuscation-map=<map-filename>] <dart-kernel-file> AOT snapshots can be obfuscated: that is all identifiers will be renamed during compilation. This mode is enabled with --obfuscate flag. Mapping between original and obfuscated names can be serialized as a JSON array using --save-obfuscation-map=<filename> option. See dartbug.com/30524 for implementation details and limitations of the obfuscation pass. [ +11 ms] executing: /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped/jre/bin/java -version [ +45 ms] Exit code 0 from: /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped/jre/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +2 ms] java -version ⣽[ +124 ms] executing: /home/nion/opt/android-sdk/platform-tools/adb devices -l [ +7 ms] Exit code 0 from: /home/nion/opt/android-sdk/platform-tools/adb devices -l [ ] List of devices attached 192.168.1.31:5555 device product:walleye model:Pixel_2 device:walleye transport_id:17 emulator-5554 device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:20 [ +6 ms] [✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8) [ +1 ms] • Flutter version 1.12.13+hotfix.8 at /nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped [ +1 ms] • Framework revision 0b8abb4724 (3 months ago), 2020-02-11 11:44:36 -0800 [ ] • Engine revision e1e6ced81d [ ] • Dart version 2.7.0 ⣽[ +11 ms] /home/nion/opt/android-sdk/platform-tools/adb -s 192.168.1.31:5555 shell getprop [ +65 ms] executing: /home/nion/opt/android-sdk/tools/bin/sdkmanager --licenses ⢿[ +211 ms] ro.hardware = walleye [ ] ro.build.characteristics = nosdcard [ +1 ms] /home/nion/opt/android-sdk/platform-tools/adb -s emulator-5554 shell getprop ⡿[ +83 ms] ro.hardware = ranchu ⣯ [+3572 ms] [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [ ] • Android SDK at /home/nion/opt/android-sdk [ ] • Android NDK location not configured (optional; useful for native profiling support) [ ] • Platform android-29, build-tools 29.0.3 [ ] • ANDROID_HOME = /home/nion/opt/android-sdk [ ] • Java binary at: /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped/jre/bin/java [ ] • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [ ] • All Android licenses accepted. [ ] [✓] Android Studio (version 3.6) [ ] • Android Studio at /nix/store/mgb6pwg4r24l2y7qxfz9l4bfmn4p335i-android-studio-stable-3.6.3.0-unwrapped [ ] • Flutter plugin version 45.0.1 [ ] • Dart plugin version 192.7761 [ ] • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [ ] [✓] Connected device (2 available) [ ] • Pixel 2 • 192.168.1.31:5555 • android-arm64 • Android 10 (API 29) [ ] • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator) [ ] • No issues found! [ +7 ms] "flutter doctor" took 4,508ms. ``` </details>
engine,a: quality,a: images,has reproducible steps,P2,found in release: 3.7,found in release: 3.8,team-engine,triaged-engine
low
Critical
611,438,501
go
proposal: cmd/vet: Should check for assignments to inbuilt types
<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? <pre> $ go version go version go1.14.2 darwin/amd64 </pre> ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? <details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/Users/thomas/Library/Caches/go-build" GOENV="/Users/thomas/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/thomas/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/go/1.14.2_1/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/l5/501mrll12w33yh9vjvlvzfjc0000gn/T/go-build233345544=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details> ### What did you do? <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best. --> I was doing some code review and noticed the snippet: ```go // ... s, nil := a() if err != nil { return err } // ... return nil ``` ### What did you expect to see? `go vet` to give some warnings for assignments to inbuilt types such `nil`, `true`, `false`, etc... ### What did you see instead? No warnings, and hard to read code.
Proposal,Analysis
medium
Critical
611,440,692
pytorch
torch.cdist returns inconsistent result
```python import torch A, B = map(torch.load('bug.pt').get, ['A', 'B']) print(A.shape, B.shape) # torch.Size([95, 39]) torch.Size([295, 39]) D = torch.cdist(A, B) print(D[75, 233]) # tensor(0., grad_fn=<SelectBackward>) D_ = torch.cdist(A[75].unsqueeze(0), B[233].unsqueeze(0)).squeeze() print(D_) # tensor(0.0004, grad_fn=<SqueezeBackward0>) ``` Both ways should have same precision properties. It is very strange that they return different results: 0.0004 is quite a large difference [bug.pt.gz](https://github.com/pytorch/pytorch/files/4570875/bug.pt.gz) cc @jlin27 @mruberry
module: numerical-stability,module: docs,triaged,module: distance functions
medium
Critical
611,446,852
rust
Reuse LTO products for incremental builds when deps are unchanged
Incremental builds with LTO (`thin` or `fat`) always take the same amount of time (~10s on [my project](https://github.com/fenollp/reMarkable-tools/tree/730e3fc2c100a713abdeebeb434a9d86aa2a48cc/marauder)) when dependencies are unchanged. It seems to take as long when adding a dependency. Is it not possible to cache (at least part) of the LTO computations? Note I'm using `cross`: ``` # cross version cargo 1.44.0-nightly (8751eb301 2020-04-21) ``` Note also this bug I've encountered WRT LTO: https://github.com/rust-embedded/cross/issues/416 https://github.com/rust-lang/rust/issues/71248 is the most recent issue I could find that seems related.
A-linkage,C-enhancement,I-compiletime,T-compiler
low
Critical
611,452,071
rust
Trait and function bounds checking differ
The reproducer is here: ```rust use std::fmt::Debug; pub trait Trait { fn do_stuff(self) -> (); } impl<F> Trait for F where F: 'static + for<'a> Fn(&'a ()) -> Box<dyn 'a + Debug>, { fn do_stuff(self) -> () { () } } pub fn foo() { fn assert_type<F>(f: F) -> F where F: 'static + for<'a> Fn(&'a ()) -> Box<dyn 'a + Debug>, { f } // Compiles Trait::do_stuff(assert_type(|_: &()| Box::new(()))); // Doesn't compile Trait::do_stuff(|_: &()| Box::new(())); } ``` [(playground link)](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=2030c96a7e797153b4113f206a446b9c) Apparently, adding `assert_type()` around the closure does pass the function bounds. However, when it's not there, the closure doesn't pass the trait bounds despite them being the same. Most surprising as an end-user (though I guess not that unexpected from an implementation point of view, as we force the bounds in another way), adding the `assert_type` makes the trait bounds pass. The issue is, of course, that I have to have a `T: Trait` and then call the trait function on it -- ideally without having to manually wrap with `assert_type` at every place where `T: Trait` is taken as an argument, as it'd require a different `assert_type` function per implementor of `Trait`. (for some more context, this arose with futures instead of `Debug`, but as it reproduced just as well with `Debug` I figured it'd be a better choice than having it be `Future`, to reduce complexity of the example)
A-type-system,A-trait-system,T-compiler,C-bug,T-types
low
Critical
611,455,106
vscode
Add support for `.XCompose`
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ --> <!-- Use Help > Report Issue to prefill these. --> - VSCode Version: Insiders ece7aaee [snap] - OS Version: Ubuntu 20.04 LTS ETA: Also occurs in latest stable (specifically ff915844 [snap]) Steps to Reproduce: 1. `echo include \"%L\" > .XCompose` 2. `echo <Multi_key> <t> <h> <e> <r> <e> <f> <o> <r> <e> : "∴" >> .XCompose` 3. Launch visual studio code. 4. In the main text editor (new file), `<compose>therefore` produces `þerefore`, and in addition `<compose>` by itself is missing its indicator (image 1). In integrated terminal, `<compose>the` produces `he`, still missing the indicator. Images: ![Caret in chrome](https://user-images.githubusercontent.com/16487249/80920109-8de48b00-8d65-11ea-8e9f-f20403ad897e.png) ![`<compose>therefor` in chrome](https://user-images.githubusercontent.com/16487249/80920145-cbe1af00-8d65-11ea-9d06-0779ae0b7b12.png) <!-- Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes Expected vs produced: `∴` vs information in 4
feature-request,editor-input
low
Critical
611,482,584
flutter
showTimePicker lacks lastTime option
showDateTime method does have a lastDate argument, however showTimePicker does not. This would benefit cases where e.g. user shouldn't be allowed to pick a delivery time after work hours. ``` gintas-mac:domukpizzaapp gintas$ flutter doctor -v [✓] Flutter (Channel master, 1.18.0-9.0.pre.98, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.18.0-9.0.pre.98 at /Users/gintas/flutter • Framework revision a32c8e84bd (9 hours ago), 2020-05-03 05:54:01 -0400 • Engine revision e3cb6812ed • Dart version 2.9.0 (build 2.9.0-5.0.dev c3ce873556) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/gintas/Library/Android/sdk • Platform android-29, build-tools 29.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.4.1, Build version 11E503a • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [!] VS Code (version 1.43.2) • VS Code at /Applications/Visual Studio Code.app/Contents ✗ Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (3 available) • macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E287 • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.129 ! Doctor found issues in 1 category. ```
c: new feature,framework,f: material design,f: date/time picker,c: proposal,P3,workaround available,team-design,triaged-design
low
Major
611,484,487
neovim
sessionoptions: allow exclude nofile buffers from save
### Actual behaviour Currently (`neovim-0.5.0+ubuntu1+git202005022020-d13c164-00e710e`) `mksession` does not allow exclude `nofile` buffers (NERDTree windows for example) using `sessionoptions`. ### Expected behaviour Nothing more than the title says.
enhancement
low
Major
611,491,060
pytorch
torch Summary writer does not display torchvision.io.read_video output
## Issue I am trying to utilize the torch tensorboard [`add_video`](https://pytorch.org/docs/stable/tensorboard.html#torch.utils.tensorboard.writer.SummaryWriter.add_video) functionality to view my `.mp4` video generated from `matplotlib` figures. I first convert the `.mp4` into a `torch.Tensor` via [`torchvision.read_video`](https://pytorch.org/docs/stable/torchvision/io.html#torchvision.io.read_video), then write it to tensorboard without errors: ``` ...... vframes, aframes, info = read_video(vid, pts_unit="sec") vframes = vframes[None] # add batch dimension vframes = vframes.permute(0, 1, 4, 2, 3) # (N, T, H, W, C) -> (N ,T , C, H, W) writer = self._get_writer(training) writer.add_video(tag, vframes, step, fps, walltime) ``` but upon viewing the Tensorboard it is just empty. I inspect my tensor and ensure that they are as required by the `add_video` module: ``` >>> from torchvision.io import read_video >>> vframes, aframes, info = read_video(vid, pts_unit="sec") >>> vframes [[[255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], ..., [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255]], [[255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], ..., [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255]], [[255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], ..., [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255], [255, 255, 255, ..., 255, 255, 255]]]]], dtype=torch.uint8) >>> vframes.sum() tensor(20125152368) ``` Is there an issue with conversion, or perhaps something else I am not aware of?
module: tensorboard,oncall: visualization
low
Critical
611,499,869
rust
Android: Instant not advancing while the screen is off
I tried this code on Android: ```rust let now = Instant::now(); // Wait some hours now.elapsed().as_secs() ``` I expected to see this happen: Get some hours as a result Instead, this happened: Got only minutes because the time while the process is sleeping / the app is "dozing" is not counted. Nice explanation from mbrubeck (https://users.rust-lang.org/t/std-now-with-android/41774): `Instant::now()` on Android (and other Linux platforms) is currently implemented using `libc::clock_gettime(CLOCK_MONOTONIC)` . Apparently this clock does not advance while the CPU is in deep sleep modes ("Doze"). This is also how Android's [ `SystemClock.uptimeMillis` ](https://developer.android.com/reference/android/os/SystemClock#uptimeMillis()) method works. Android also offers a [ `SystemClock.elapsedRealTime` ](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtime()) method, which seems to be implemented using an [Android-specific ioctl ](https://android.googlesource.com/platform/frameworks/native/+/jb-dev/libs/utils/SystemClock.cpp#121). Perhaps it would be possible to migrate the Rust standard library to use this call on Android, if there are no trade-offs in precision.
O-android,T-libs-api,C-bug,T-libs,A-time
low
Major
611,560,264
godot
Inconsistent behavior in get_rect() between nodes.
**Godot version:** 3.2.1 stable **Issue description:** The `get_rect()` method available on a few different types, including Control, Sprite, and Image, do not behave the same. - `Control.get_rect()`: Returns the _global_ position and size of the object. - `Sprite.get_rect()`: Returns the _local_ position of the upper right corner relative to its pivot (if a sprite is 64x64 and the pivot is centered, the upper left origin is -32,-32 regardless of its position on the canvas). This does not change if the sprite is resized on any axis resulting in weird coordinates being returned like -13.2566666667,25.7 if local mouse position is polled. - `Image.get_rect(Rect2 rect)`: Returns a copy of the image from the specified `rect` argument. I feel this is an inconsistency in the language API that should be smoothed out to avoid confusion with expected behavior by appropriately renaming methods and/or making them behave the same everywhere they are implemented. An expected and sensible behavior is that `get_rect()` on all types would simply return the global coordinates of the object from its upper left corner and its bounding box size. This not only simplifies this but will also simplify getting/calculating the mouse position within the objects.
discussion
low
Minor
611,627,236
godot
Creating a texture3D distorts the values (unwanted filtering?)
**Godot version:** 3.2.1.stable.mono **OS/device including version:** Windows 10 **Issue description**: When creating a Texture3D in code, the texture data is distorted. An entered byte value of 1 becomes 13 when read back for example. When doing the same procedure on an ImageTexture with the same setup, this problem does not occur. **Steps to reproduce:** Create a Texture3d in code with Image.Format_r8 and flags = 0. Create an Image from a poolbytearray containg values between 0 and 255. Set the Image as one of the Texture3D's layer data. Retrieve the data from the same layer and read the bytearray. **Minimal reproduction project:** GD-script, uploaded as .txt. Attach sript to a node and run. [Node.txt](https://github.com/godotengine/godot/files/4572974/Node.txt) *Bugsquad edit: Complete minimal reproduction project for easier testing: [test_texture_3d.zip](https://github.com/godotengine/godot/files/4573269/test_texture_3d.zip)*
topic:core
low
Critical
611,643,816
excalidraw
Tabs in Excalidraw
Usually I need to work on multiple diagrams at the same time. Tabs should be a good way to work on different workspaces at the same time.
enhancement
high
Critical
611,661,579
pytorch
Documentation of _CtxMethodMixin: must be tensors?
The documentation for _CtxMethodMixin.save_for_backward seems to imply that it accepts only tensor arguments: https://github.com/pytorch/pytorch/blob/843c0230f2928aad61a6940688da3a6cd6c4cd57/torch/autograd/function.py#L13 ... as does the function name of `saved_tensors`. https://github.com/pytorch/pytorch/blob/843c0230f2928aad61a6940688da3a6cd6c4cd57/torch/autograd/function.py#L386 . and this documentation: https://github.com/pytorch/pytorch/blob/843c0230f2928aad61a6940688da3a6cd6c4cd57/torch/autograd/function.py#L161 But the documentation here: https://github.com/pytorch/tutorials/blob/f557ee0addc24900929bafd4ceff2fc4c3f47072/beginner_source/examples_autograd/two_layer_net_custom_function.py#L26 indicates that they can be tensors or other types. I attempted to read the code (which isn't easy as it involves metaclasses) and as far as I can tell they may be tensors or other types. I think the documentation should be made consistent on this point. cc @ezyang @SsnL @albanD @zou3519 @gqchen
module: docs,module: autograd,triaged
low
Major
611,709,848
flutter
Failed to apply plugin [class 'org.gradle.api.plugins.BasePlugin'] Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository()
Hello, I am getting very frequently this weird issue. I can build and run on iOS simulator but for Android, it starts to give me compile/debug failed error, out of no where. And after day or two it becomes normal. It has happened to me 5 to 8 times, i can not pin point or retract why this is happening. Every time the error is different. Right Now i am getting this: ``` FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:packageDebug'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > java.io.IOException: Failed to read zip file '/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/app/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 17s Gradle task assembleDebug failed with exit code 1 Exited (sigterm) ``` Before i got error regarding cache files locked, output.bin etc. **Also at this state, new `flutter create .` project is also not compiling** ## Steps to Reproduce Can not tell for sure, some time its working the last night , and next day its not compiling. This time - i was testing/hot reloading my app on Android AVD. - run `flutter build apk --target-platform android-arm64` (the produced file was faulty, could not be installed on physical device) - SToped the debug session, and start new, but failed and getting this error Things I did:- Following , (all or some at different time) 1- run `./gradlew cleanBuildCache` (failed) 2- flutter clean 3- flutter pub cache repair 4- delete `~/.gradle` folder , (after `./gradlew --stop` and also stoping processes of gradle before clearing folder as suggested in online forums) Last time i did all (except 3) , and it started compiling again. I tried checking gradle related issues but my pure **Android/Kotlin projects in Android Studio are compiling fine**. After delete my gradle folders, i have to download all dependencies again (issue for me as i am currently in China). but even after that it is not working. ## Logs <details> <summary>flutter run --verbose</summary> <!-- Include the full logs of the commands you are running between the lines with the backticks below. If you are running any "flutter" commands, please include the output of running them with "--verbose"; for example, the output of running "flutter --verbose create foo". --> ``` [ +38 ms] executing: [/Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +78 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] cf37c2cd07a1d3ba296efff2dc75e19ba65e1665 [ ] executing: [/Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/] git describe --match v*.*.* --first-parent --long --tags [ +58 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v1.12.13-0-gcf37c2cd0 [ +16 ms] executing: [/Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/] git rev-parse --abbrev-ref --symbolic @{u} [ +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/] git ls-remote --get-url origin [ +17 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +78 ms] executing: [/Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/] git rev-parse --abbrev-ref HEAD [ +25 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +1 ms] stable [ +21 ms] executing: sw_vers -productName [ +23 ms] Exit code 0 from: sw_vers -productName [ ] Mac OS X [ ] executing: sw_vers -productVersion [ +58 ms] Exit code 0 from: sw_vers -productVersion [ ] 10.14.6 [ ] executing: sw_vers -buildVersion [ +49 ms] Exit code 0 from: sw_vers -buildVersion [ +2 ms] 18G103 [ +96 ms] executing: /usr/bin/xcode-select --print-path [ +35 ms] Exit code 0 from: /usr/bin/xcode-select --print-path [ +39 ms] /Applications/Xcode.app/Contents/Developer [ +6 ms] executing: /usr/bin/xcodebuild -version [ +286 ms] Exit code 0 from: /usr/bin/xcodebuild -version [ +2 ms] Xcode 11.3.1 Build version 11C505 [ +97 ms] executing: /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb devices -l [ +9 ms] Exit code 0 from: /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb devices -l [ ] List of devices attached emulator-5554 device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:1 [ +49 ms] executing: /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/bin/cache/artifacts/libimobiledevice/idevice_id -h [ +65 ms] /usr/bin/xcrun simctl list --json devices [ +126 ms] /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb -s emulator-5554 shell getprop [ +63 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +8 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +14 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +81 ms] Found plugin audioplayers at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/ [ +181 ms] Found plugin moor_ffi at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/moor_ffi-0.4.0/ [ +35 ms] Found plugin path_provider at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/ [ +2 ms] Found plugin path_provider_macos at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0. 0.4/ [ +89 ms] Found plugin audioplayers at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/ [ +71 ms] Found plugin moor_ffi at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/moor_ffi-0.4.0/ [ +29 ms] Found plugin path_provider at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/ [ +2 ms] Found plugin path_provider_macos at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0. 0.4/ [ +91 ms] Generating /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/android/app/src/main/java/io/flutter/plugins/Gener atedPluginRegistrant.java [ +42 ms] ro.hardware = ranchu ⣽[ +34 ms] executing: [/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner.xcodeproj -target Runner -showBuildSettings [ ] executing: [/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner.xcodeproj -target Runner -showBuildSettings (This is taking an unexpectedly long time.)⣟[+2085 ms] Build settings for action build and target Runner: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = NO ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = thexaib ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer APPLE_INTERNAL_DIR = /AppleInternal APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools APPLICATION_EXTENSION_API_ONLY = NO APPLY_RULES_IN_COPY_FILES = NO APPLY_RULES_IN_COPY_HEADERS = NO ARCHS = armv7 arm64 ARCHS_STANDARD = armv7 arm64 ARCHS_STANDARD_32_64_BIT = armv7 arm64 ARCHS_STANDARD_32_BIT = armv7 ARCHS_STANDARD_64_BIT = arm64 ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64 ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator BITCODE_GENERATION_MODE = marker BUILD_ACTIVE_RESOURCES_ONLY = NO BUILD_COMPONENTS = headers build BUILD_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios BUILD_LIBRARY_FOR_DISTRIBUTION = NO BUILD_ROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos CACHE_ROOT = /var/folders/s1/84mmcfx96qz2vt1b8dpn8xd00000gn/C/com.apple.DeveloperTools/11.3.1-11C505/Xc ode CCHROOT = /var/folders/s1/84mmcfx96qz2vt1b8dpn8xd00000gn/C/com.apple.DeveloperTools/11.3.1-11C505/Xc ode CHMOD = /bin/chmod CHOWN = /usr/sbin/chown CLANG_ANALYZER_NONNULL = YES CLANG_CXX_LANGUAGE_STANDARD = gnu++0x CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_COMMA = YES CLANG_WARN_CONSTANT_CONVERSION = YES CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES CLANG_WARN_OBJC_LITERAL_CONVERSION = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_RANGE_LOOP_ANALYSIS = YES CLANG_WARN_STRICT_PROTOTYPES = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLASS_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos /Runner.app CODE_SIGNING_ALLOWED = YES CODE_SIGNING_REQUIRED = YES CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext CODE_SIGN_IDENTITY = iPhone Developer CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES COLOR_DIAGNOSTICS = NO COMBINE_HIDPI_IMAGES = NO COMPILER_INDEX_STORE_ENABLE = Default COMPOSITE_SDK_DIRS = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/CompositeSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Release CONFIGURATION_BUILD_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos CONFIGURATION_TEMP_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos CONTENTS_FOLDER_PATH = Runner.app COPYING_PRESERVES_HFS_DATA = NO COPY_HEADERS_RUN_UNIFDEF = NO COPY_PHASE_STRIP = NO COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SD Ks/iPhoneSimulator13.2.sdk CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator13.2 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = arm64 CURRENT_PROJECT_VERSION = 1 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf-with-dsym DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_DEXT_INSTALL_PATH = /System/Library/DriverExtensions DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions DEFINES_MODULE = NO DEPLOYMENT_LOCATION = NO DEPLOYMENT_POSTPROCESSING = NO DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min= DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 DERIVED_FILES_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/DerivedSources DERIVED_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/DerivedSources DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = en DOCUMENTATION_FOLDER_PATH = Runner.app/en.lproj/Documentation DONT_GENERATE_INFOPLIST_FILE = NO DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos EFFECTIVE_PLATFORM_NAME = -iphoneos EMBEDDED_CONTENT_CONTAINS_SWIFT = NO EMBEDDED_PROFILE_NAME = embedded.mobileprovision EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO ENABLE_BITCODE = NO ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES ENABLE_HARDENED_RUNTIME = NO ENABLE_HEADER_DEPENDENCIES = YES ENABLE_NS_ASSERTIONS = NO ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = NO ENTITLEMENTS_ALLOWED = YES ENTITLEMENTS_DESTINATION = Signature ENTITLEMENTS_REQUIRED = YES EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj EXECUTABLES_FOLDER_PATH = Runner.app/Executables EXECUTABLE_FOLDER_PATH = Runner.app EXECUTABLE_NAME = Runner EXECUTABLE_PATH = Runner.app/Runner EXPANDED_CODE_SIGN_IDENTITY = EXPANDED_CODE_SIGN_IDENTITY_NAME = EXPANDED_PROVISIONING_PROFILE = FILE_LIST = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/Objects/LinkFileList FIXED_FILES_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/FixedFiles FLUTTER_APPLICATION_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app FLUTTER_BUILD_DIR = build FLUTTER_BUILD_NAME = 1.0.0 FLUTTER_BUILD_NUMBER = 1 FLUTTER_FRAMEWORK_DIR = /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git/bin/cache/artifacts/engine/ios FLUTTER_ROOT = /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git FLUTTER_TARGET = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/lib/main.dart FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/audioplayers" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/path_provider" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Pods/../Flutter" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/audioplayers" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/path_provider" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Pods/../Flutter" /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1 GCC_SYMBOLS_PRIVATE_EXTERN = YES GCC_THUMB_SUPPORT = YES GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_VERSION = com.apple.compilers.llvm.clang.1_0 GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0 GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES GENERATE_MASTER_OBJECT_FILE = NO GENERATE_PKGINFO_FILE = YES GENERATE_PROFILING_CODE = NO GENERATE_TEXT_BASED_STUBS = NO GID = 20 GROUP = staff HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES HEADERMAP_INCLUDES_PROJECT_HEADERS = YES HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES HEADERMAP_USES_VFS = NO HEADER_SEARCH_PATHS = "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/audioplayers/audioplayers.framework/Headers" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/path_provider/path_provider.framework/Headers" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/audioplayers/audioplayers.framework/Headers" "/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneo s/path_provider/path_provider.framework/Headers" HIDE_BITCODE_SYMBOLS = YES HOME = /Users/thexaib ICONV = /usr/bin/iconv INFOPLIST_EXPAND_BUILD_SETTINGS = YES INFOPLIST_FILE = Runner/Info.plist INFOPLIST_OUTPUT_FORMAT = binary INFOPLIST_PATH = Runner.app/Info.plist INFOPLIST_PREPROCESS = NO INFOSTRINGS_PATH = Runner.app/en.lproj/InfoPlist.strings INLINE_PRIVATE_FRAMEWORKS = NO INSTALLHDRS_COPY_PHASE = NO INSTALLHDRS_SCRIPT_PHASE = NO INSTALL_DIR = /tmp/Runner.dst/Applications INSTALL_GROUP = staff INSTALL_MODE_FLAG = u+w,go-w,a+rX INSTALL_OWNER = thexaib INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 8.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub JAVA_ARCHIVE_CLASSES = YES JAVA_ARCHIVE_TYPE = JAR JAVA_COMPILER = /usr/bin/javac JAVA_FOLDER_PATH = Runner.app/Java JAVA_FRAMEWORK_RESOURCES_DIRS = Resources JAVA_JAR_FLAGS = cv JAVA_SOURCE_SUBDIR = . JAVA_USE_DEPENDENCIES = YES JAVA_ZIP_FLAGS = -urg JIKES_DEFAULT_FLAGS = +E +OLDCSO KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow KEEP_PRIVATE_EXTERNS = NO LD_DEPENDENCY_INFO_FILE = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Devel oper LEX = lex LIBRARY_DEXT_INSTALL_PATH = /Library/DriverExtensions LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_arm64 = LINK_FILE_LIST_normal_armv7 = LINK_WITH_STANDARD_LIBRARIES = YES LLVM_TARGET_TRIPLE_OS_VERSION = ios8.0 LLVM_TARGET_TRIPLE_VENDOR = apple LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/en.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFCopyLocalizedString LOCALIZED_STRING_SWIFTUI_SUPPORT = YES LOCAL_ADMIN_APPS_DIR = /Applications/Utilities LOCAL_APPS_DIR = /Applications LOCAL_DEVELOPER_DIR = /Library/Developer LOCAL_LIBRARY_DIR = /Library LOCROOT = LOCSYMROOT = MACH_O_TYPE = mh_execute MAC_OS_X_PRODUCT_BUILD_VERSION = 18G103 MAC_OS_X_VERSION_ACTUAL = 101406 MAC_OS_X_VERSION_MAJOR = 101400 MAC_OS_X_VERSION_MINOR = 1406 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos /Runner.app MODULES_FOLDER_PATH = Runner.app/Modules MODULE_CACHE_DIR = /Users/thexaib/Library/Developer/Xcode/DerivedData/ModuleCache.noindex MTL_ENABLE_DEBUG_INFO = NO NATIVE_ARCH = armv7 NATIVE_ARCH_32_BIT = i386 NATIVE_ARCH_64_BIT = x86_64 NATIVE_ARCH_ACTUAL = x86_64 NO_COMMON = YES OBJECT_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/Objects OBJECT_FILE_DIR_normal = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/Objects-normal OBJROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios ONLY_ACTIVE_ARCH = NO OS = MACOS OSAC = /usr/bin/osacompile OTHER_LDFLAGS = -framework "Flutter" -framework "audioplayers" -framework "path_provider" -framework "Flutter" -framework "audioplayers" -framework "path_provider" PACKAGE_TYPE = com.apple.package-type.wrapper.application PASCAL_STRINGS = YES PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/local/sbin:/Users/t hexaib/.poetry/bin:/usr/local/opt/[email protected]/sbin:/usr/local/opt/[email protected]/bin:/Applications/In telliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/:/Volumes/Drive_E/softw/IDEnTools/flutter_s dk/flutter_git/bin/:/Applications/MATLAB_R2016b.app/bin/:/usr/local/opt/[email protected]/bin:/U sers/thexaib/.composer/vendor/bin:/Volumes/Drive_E/softw/apps_web/Composer/:/Volumes/Drive _E/softw/apps_web/PHPUnit8/:/Users/thexaib/apps/fossil/:/usr/local/bin:/usr/bin:/bin:/usr/ sbin:/sbin:/opt/X11/bin:/usr/local/sbin:/Users/thexaib/.poetry/bin:/usr/local/opt/[email protected]/ sbin:/usr/local/opt/[email protected]/bin:/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/:/Volumes/Drive_E/softw/IDEnTools/flutter_s dk/flutter_git/bin/:/Applications/MATLAB_R2016b.app/bin/:/usr/local/opt/[email protected]/bin:/U sers/thexaib/.composer/vendor/bin:/Volumes/Drive_E/softw/apps_web/Composer/:/Volumes/Drive _E/softw/apps_web/PHPUnit8/:/Users/thexaib/apps/fossil/:/Volumes/Drive_E/softw/IDEnTools/a ndroid/AndroidSDK/emulator:/Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/tools:/Volu mes/Drive_E/softw/IDEnTools/android/AndroidSDK/tools/bin:/Volumes/Drive_E/softw/IDEnTools/ android/AndroidSDK/platform-tools:/Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/emul ator:/Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/tools:/Volumes/Drive_E/softw/IDEn Tools/android/AndroidSDK/tools/bin:/Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/pla tform-tools PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist PFE_FILE_C_DIALECTS = objective-c PKGINFO_FILE_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applicati ons PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Devel oper/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform PLATFORM_DISPLAY_NAME = iOS PLATFORM_NAME = iphoneos PLATFORM_PREFERRED_ARCH = arm64 PLATFORM_PRODUCT_BUILD_VERSION = 17B102 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PODS_BUILD_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios PODS_CONFIGURATION_BUILD_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos PODS_PODFILE_DIR_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/. PODS_ROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Pods PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = com.thexaib.learnquranicarabic PRODUCT_BUNDLE_PACKAGE_TYPE = APPL PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner/Info.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Der ivedSources PROJECT_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios PROJECT_FILE_PATH = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios/Runner.xcodeproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build PROJECT_TEMP_ROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios PROVISIONING_PROFILE_REQUIRED = YES PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES REMOVE_CVS_FROM_RESOURCES = YES REMOVE_GIT_FROM_RESOURCES = YES REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES REMOVE_HG_FROM_RESOURCES = YES REMOVE_SVN_FROM_RESOURCES = YES RESOURCE_RULES_REQUIRED = YES REZ_COLLECTOR_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/ResourceManagerResources REZ_OBJECTS_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build/ResourceManagerResources/Objects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPho neOS13.2.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPho neOS13.2.sdk SDK_DIR_iphoneos13_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPho neOS13.2.sdk SDK_NAME = iphoneos13.2 SDK_NAMES = iphoneos13.2 SDK_PRODUCT_BUILD_VERSION = 17B102 SDK_VERSION = 13.2 SDK_VERSION_ACTUAL = 130200 SDK_VERSION_MAJOR = 130000 SDK_VERSION_MINOR = 200 SED = /usr/bin/sed SEPARATE_STRIP = NO SEPARATE_SYMBOL_EDIT = NO SET_DIR_MODE_OWNER_GROUP = YES SET_FILE_MODE_OWNER_GROUP = NO SHALLOW_BUNDLE = YES SHARED_DERIVED_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos /DerivedSources SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/SharedPrecompile dHeaders SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios SRCROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/ios STRINGS_FILE_OUTPUT_ENCODING = binary STRIP_BITCODE_FROM_COPIED_FILES = YES STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = all STRIP_SWIFT_SYMBOLS = YES SUPPORTED_DEVICE_FAMILIES = 1,2 SUPPORTED_PLATFORMS = iphoneos SUPPORTS_MACCATALYST = NO SUPPORTS_TEXT_BASED_API = NO SWIFT_COMPILATION_MODE = wholemodule SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h SWIFT_OPTIMIZATION_LEVEL = -O SWIFT_PLATFORM_TARGET_PREFIX = ios SWIFT_VERSION = 5.0 SYMROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities SYSTEM_APPS_DIR = /Applications SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices SYSTEM_DEMOS_DIR = /Applications/Extras SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities SYSTEM_DEXT_INSTALL_PATH = /System/Library/DriverExtensions SYSTEM_DOCUMENTATION_DIR = /Library/Documentation SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions SYSTEM_LIBRARY_DIR = /System/Library TAPI_VERIFY_MODE = ErrorsOnly TARGETED_DEVICE_FAMILY = 1,2 TARGETNAME = Runner TARGET_BUILD_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Release-iphoneos TARGET_NAME = Runner TARGET_TEMP_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build TEMP_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build TEMP_FILES_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build TEMP_FILE_DIR = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios/Runner.build/Rel ease-iphoneos/Runner.build TEMP_ROOT = /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/ios TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain TRACK_WIDGET_CREATION = true TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO UID = 501 UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app UNSTRIPPED_PRODUCT = NO USER = thexaib USER_APPS_DIR = /Users/thexaib/Applications USER_LIBRARY_DIR = /Users/thexaib/Library USE_DYNAMIC_NO_PIC = YES USE_HEADERMAP = YES USE_HEADER_SYMLINKS = NO USE_LLVM_TARGET_TRIPLES = YES USE_LLVM_TARGET_TRIPLES_FOR_CLANG = YES USE_LLVM_TARGET_TRIPLES_FOR_LD = YES USE_LLVM_TARGET_TRIPLES_FOR_TAPI = YES USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES VALIDATE_PRODUCT = YES VALIDATE_WORKSPACE = NO VALID_ARCHS = arm64 arm64e armv7 armv7s VERBOSE_PBXCP = NO VERSIONING_SYSTEM = apple-generic VERSIONPLIST_PATH = Runner.app/version.plist VERSION_INFO_BUILDER = thexaib VERSION_INFO_FILE = Runner_vers.c VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1" WRAPPER_EXTENSION = app WRAPPER_NAME = Runner.app WRAPPER_SUFFIX = .app WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode XCODE_PRODUCT_BUILD_VERSION = 11C505 XCODE_VERSION_ACTUAL = 1131 XCODE_VERSION_MAJOR = 1100 XCODE_VERSION_MINOR = 1130 XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices YACC = yacc arch = arm64 variant = normal [ +163 ms] Using hardware rendering with device Android SDK built for x86 64. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +20 ms] Launching lib/main.dart on Android SDK built for x86 64 in debug mode... [ +76 ms] executing: /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -s flutter [ +9 ms] executing: /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb version [ +39 ms] Android Debug Bridge version 1.0.41 Version 30.0.0-6374843 Installed as /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb [ +15 ms] executing: /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK/platform-tools/adb start-server [ +57 ms] Building APK [ +33 ms] Running Gradle task 'assembleDebug'... [ +2 ms] gradle.properties already sets `android.enableR8` [ +4 ms] Using gradle from /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/android/gradlew. [ +454 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/phpmyadmin/tmp/twig/' (OS Error: Permission denied, errno = 13) [ +89 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/temp/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/laravel_livewire/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/test/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/phpmyadmin/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/ymr_app/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/ymrclient/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/laravel_voyager/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/ncsserver2_spring/' (OS Error: Permission denied, errno = 13) [ +7 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/twill_db/' (OS Error: Permission denied, errno = 13) [ +3 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/mysql/' (OS Error: Permission denied, errno = 13) [ +2 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/performance_schema/' (OS Error: Permission denied, errno = 13) [ ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/laravel_pwa/' (OS Error: Permission denied, errno = 13) [ +302 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +11 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +1 ms] {"CFBundleName":"Android Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar :$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jd om.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib \/jna.jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE\/Contents","idea.executable":"stu dio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":"AndroidStudio3.5"},"WorkingDirectory":"$APP_PAC KAGE\/Contents\/bin"},"LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-191.8026.42.35.6010548","CFBundleD evelopmentRegion":"English","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":["*"],"CFBundleT ypeOSTypes":["****"],"LSTypeIsPackage":false,"CFBundleTypeName":"All documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL", "CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.5","CFBundleInfoDi ctionaryVersion":"6.0","CFBundleExecutable":"studio","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBun dleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdentifier":"com.goo gle.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????"," LSMinimumSystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8026.42.35.6010548. Copyright JetBrains s.r.o., (c) 2000-2019"} [ +8 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +96 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ ] openjdk version "1.8.0_202-release" OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode) [ +2 ms] executing: [/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/android/] /Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/android/gradlew -Pverbose=true -Ptarget=/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x64 assembleDebug [ +620 ms] Welcome to Gradle 5.6.2! [ ] Here are the highlights of this release: [ ] - Incremental Groovy compilation [ ] - Groovy compile avoidance [ ] - Test fixtures for Java projects [ ] - Manage plugin versions via settings script [ ] For more details see https://docs.gradle.org/5.6.2/release-notes.html [+1681 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE [ ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] > Task :audioplayers:preBuild UP-TO-DATE [ ] > Task :audioplayers:preDebugBuild UP-TO-DATE [ ] > Task :path_provider:preBuild UP-TO-DATE [ ] > Task :path_provider:preDebugBuild UP-TO-DATE [ ] > Task :path_provider_macos:preBuild UP-TO-DATE [ ] > Task :path_provider_macos:preDebugBuild UP-TO-DATE [ ] > Task :path_provider_macos:compileDebugAidl NO-SOURCE [ ] > Task :path_provider:compileDebugAidl NO-SOURCE [ ] > Task :audioplayers:compileDebugAidl NO-SOURCE [ ] > Task :moor_ffi:preBuild UP-TO-DATE [ ] > Task :moor_ffi:preDebugBuild UP-TO-DATE [ ] > Task :moor_ffi:compileDebugAidl NO-SOURCE [ +96 ms] > Task :app:compileDebugAidl NO-SOURCE [ ] > Task :audioplayers:packageDebugRenderscript NO-SOURCE [ ] > Task :moor_ffi:packageDebugRenderscript NO-SOURCE [ ] > Task :path_provider:packageDebugRenderscript NO-SOURCE [ ] > Task :path_provider_macos:packageDebugRenderscript NO-SOURCE [ ] > Task :app:compileDebugRenderscript NO-SOURCE [ ] > Task :app:checkDebugManifest UP-TO-DATE [ ] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :app:cleanMergeDebugAssets [ +92 ms] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders UP-TO-DATE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :audioplayers:mergeDebugShaders UP-TO-DATE [ ] > Task :audioplayers:compileDebugShaders UP-TO-DATE [ ] > Task :audioplayers:generateDebugAssets UP-TO-DATE [ ] > Task :audioplayers:packageDebugAssets UP-TO-DATE [ ] > Task :moor_ffi:mergeDebugShaders UP-TO-DATE [ ] > Task :moor_ffi:compileDebugShaders UP-TO-DATE [ ] > Task :moor_ffi:generateDebugAssets UP-TO-DATE [ ] > Task :moor_ffi:packageDebugAssets UP-TO-DATE [ ] > Task :path_provider:mergeDebugShaders UP-TO-DATE [ ] > Task :path_provider:compileDebugShaders UP-TO-DATE [ ] > Task :path_provider:generateDebugAssets UP-TO-DATE [ ] > Task :path_provider:packageDebugAssets UP-TO-DATE [ ] > Task :path_provider_macos:mergeDebugShaders UP-TO-DATE [ ] > Task :path_provider_macos:compileDebugShaders UP-TO-DATE [ ] > Task :path_provider_macos:generateDebugAssets UP-TO-DATE [ ] > Task :path_provider_macos:packageDebugAssets UP-TO-DATE [ ] > Task :app:mergeDebugAssets [+1597 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE [ ] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources UP-TO-DATE [ ] > Task :audioplayers:generateDebugResValues UP-TO-DATE [ ] > Task :audioplayers:compileDebugRenderscript NO-SOURCE [ ] > Task :audioplayers:generateDebugResources UP-TO-DATE [ ] > Task :audioplayers:packageDebugResources UP-TO-DATE [ ] > Task :moor_ffi:generateDebugResValues UP-TO-DATE [ ] > Task :moor_ffi:compileDebugRenderscript NO-SOURCE [ ] > Task :moor_ffi:generateDebugResources UP-TO-DATE [ ] > Task :moor_ffi:packageDebugResources UP-TO-DATE [ ] > Task :path_provider:generateDebugResValues UP-TO-DATE [ ] > Task :path_provider:compileDebugRenderscript NO-SOURCE [ ] > Task :path_provider:generateDebugResources UP-TO-DATE [ ] > Task :path_provider:packageDebugResources UP-TO-DATE [ ] > Task :path_provider_macos:generateDebugResValues UP-TO-DATE [ ] > Task :path_provider_macos:compileDebugRenderscript NO-SOURCE [ ] > Task :path_provider_macos:generateDebugResources UP-TO-DATE [ ] > Task :path_provider_macos:packageDebugResources UP-TO-DATE [ +97 ms] > Task :app:mergeDebugResources UP-TO-DATE [ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :audioplayers:checkDebugManifest UP-TO-DATE [ ] > Task :audioplayers:processDebugManifest UP-TO-DATE [ ] > Task :moor_ffi:checkDebugManifest UP-TO-DATE [ ] > Task :moor_ffi:processDebugManifest UP-TO-DATE [ ] > Task :path_provider:checkDebugManifest UP-TO-DATE [ ] > Task :path_provider:processDebugManifest UP-TO-DATE [ ] > Task :path_provider_macos:checkDebugManifest UP-TO-DATE [ +95 ms] > Task :path_provider_macos:processDebugManifest UP-TO-DATE [ ] > Task :app:processDebugManifest UP-TO-DATE [ ] > Task :audioplayers:parseDebugLibraryResources UP-TO-DATE [ ] > Task :path_provider:parseDebugLibraryResources UP-TO-DATE [ ] > Task :path_provider_macos:parseDebugLibraryResources UP-TO-DATE [ ] > Task :path_provider_macos:generateDebugRFile UP-TO-DATE [ ] > Task :path_provider:generateDebugRFile UP-TO-DATE [ ] > Task :audioplayers:generateDebugRFile UP-TO-DATE [ ] > Task :moor_ffi:parseDebugLibraryResources UP-TO-DATE [ +101 ms] > Task :moor_ffi:generateDebugRFile UP-TO-DATE [ ] > Task :app:processDebugResources UP-TO-DATE [ ] > Task :audioplayers:generateDebugBuildConfig UP-TO-DATE [ ] > Task :path_provider:generateDebugBuildConfig UP-TO-DATE [ ] > Task :path_provider_macos:generateDebugBuildConfig UP-TO-DATE [ ] > Task :moor_ffi:generateDebugBuildConfig UP-TO-DATE [ ] > Task :path_provider_macos:javaPreCompileDebug UP-TO-DATE [ ] > Task :path_provider_macos:compileDebugJavaWithJavac UP-TO-DATE [ +97 ms] > Task :path_provider_macos:bundleLibCompileDebug UP-TO-DATE [ ] > Task :path_provider:javaPreCompileDebug UP-TO-DATE [ ] > Task :path_provider:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :path_provider:bundleLibCompileDebug UP-TO-DATE [ ] > Task :audioplayers:javaPreCompileDebug UP-TO-DATE [ ] > Task :audioplayers:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :audioplayers:bundleLibCompileDebug UP-TO-DATE [ ] > Task :moor_ffi:javaPreCompileDebug UP-TO-DATE [ ] > Task :moor_ffi:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :moor_ffi:bundleLibCompileDebug UP-TO-DATE [ ] > Task :app:compileDebugKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDebug UP-TO-DATE [ +199 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDebugSources UP-TO-DATE [ ] > Task :app:processDebugJavaRes NO-SOURCE [ ] > Task :audioplayers:processDebugJavaRes NO-SOURCE [ ] > Task :audioplayers:bundleLibResDebug UP-TO-DATE [ ] > Task :moor_ffi:processDebugJavaRes NO-SOURCE [ ] > Task :moor_ffi:bundleLibResDebug UP-TO-DATE [ ] > Task :path_provider:processDebugJavaRes NO-SOURCE [ ] > Task :path_provider:bundleLibResDebug UP-TO-DATE [ ] > Task :path_provider_macos:processDebugJavaRes NO-SOURCE [ ] > Task :path_provider_macos:bundleLibResDebug UP-TO-DATE [ ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ ] > Task :moor_ffi:bundleLibRuntimeDebug UP-TO-DATE [ ] > Task :moor_ffi:createFullJarDebug UP-TO-DATE [ ] > Task :path_provider_macos:bundleLibRuntimeDebug UP-TO-DATE [ ] > Task :path_provider_macos:createFullJarDebug UP-TO-DATE [ ] > Task :path_provider:bundleLibRuntimeDebug UP-TO-DATE [ ] > Task :path_provider:createFullJarDebug UP-TO-DATE [ ] > Task :audioplayers:bundleLibRuntimeDebug UP-TO-DATE [ +5 ms] > Task :audioplayers:createFullJarDebug UP-TO-DATE [ +90 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ +97 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ ] > Task :app:mergeDexDebug UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ ] > Task :app:signingConfigWriterDebug UP-TO-DATE [ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :audioplayers:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :audioplayers:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :audioplayers:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :audioplayers:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] > Task :moor_ffi:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :moor_ffi:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :moor_ffi:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :moor_ffi:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] > Task :path_provider:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :path_provider:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :path_provider:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] > Task :path_provider_macos:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :path_provider_macos:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :path_provider_macos:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :path_provider_macos:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ +106 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ +13 ms] Compatible side by side NDK version was not found. [+4884 ms] > Task :app:packageDebug FAILED [ ] 110 actionable tasks: 4 executed, 106 up-to-date [ +1 ms] FAILURE: Build failed with an exception. [ +2 ms] * What went wrong: [ ] Execution failed for task ':app:packageDebug'. [ ] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade [ ] > java.io.IOException: Failed to read zip file '/Volumes/Drive_E/MyProgramingWork/_flutter/learn_qa_app/build/app/intermediates/processed_res/debug/proce ssDebugResources/out/resources-debug.ap_'. [ ] * Try: [ ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. [ ] * Get more help at https://help.gradle.org [ ] BUILD FAILED in 9s [ +450 ms] Running Gradle task 'assembleDebug'... (completed in 11.3s) [ +11 ms] "flutter run" took 15,625ms. Gradle task assembleDebug failed with exit code 1 #0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3) #1 buildGradleApp (package:flutter_tools/src/android/gradle.dart:387:7) #2 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #3 _rootRunUnary (dart:async/zone.dart:1134:38) #4 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #5 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #7 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #8 Future._completeWithValue (dart:async/future_impl.dart:524:5) #9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #11 _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart) #12 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #13 _rootRunUnary (dart:async/zone.dart:1134:38) #14 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #15 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #16 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #17 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #18 Future._completeWithValue (dart:async/future_impl.dart:524:5) #19 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7) #20 _rootRun (dart:async/zone.dart:1126:13) #21 _CustomZone.run (dart:async/zone.dart:1023:19) #22 _CustomZone.runGuarded (dart:async/zone.dart:925:7) #23 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23) #24 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) #26 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #27 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5) ``` </details> <!-- If possible, paste the output of running `flutter doctor -v` here. --> #### fluter doctor -v ``` [✓] Flutter (Channel stable, v1.12.13, on Mac OS X 10.14.6 18G103, locale en-US) • Flutter version 1.12.13 at /Volumes/Drive_E/softw/IDEnTools/flutter_sdk/flutter_git • Framework revision cf37c2cd07 (5 months ago), 2019-11-25 12:04:30 -0800 • Engine revision b6b54fd606 • Dart version 2.7.0 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = /Volumes/Drive_E/softw/IDEnTools/android/AndroidSDK • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C505 • CocoaPods version 1.9.1 [✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] IntelliJ IDEA Ultimate Edition (version 2019.3.1) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 45.1.2 • Dart plugin version 193.5731 [✓] Connected device (1 available) • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator) • No issues found! ```
c: crash,platform-android,tool,t: gradle,P2,team-android,triaged-android
low
Critical
611,761,833
rust
WebAssembly ABI mismatch between clang and rust
When I compile this C code to `wasm32-wasi`: ```c typedef struct Vector { int a; int b; } Vector; extern int extract_a(Vector v) { return v.a; } ``` And this Rust code to `wasm32-wasi`: ```rust #[repr(C)] struct Vector { a: i32, b: i32, } extern "C" { fn extract_a(v: Vector) -> i32; } fn main() { unsafe { extract_a(Vector { a: 5, b: 4 }); } } ``` And try link them together, I'm getting linking errors: ``` = note: lld: error: function signature mismatch: extract_a >>> defined as (i32, i32) -> i32 in /home/pierre/Projets/wasm-abi-test/target/wasm32-wasi/debug/deps/wasm_abi_test.67xpw7l331r9o5x.rcgu.o >>> defined as (i32) -> i32 in /home/pierre/Projets/wasm-abi-test/target/wasm32-wasi/debug/build/wasm-abi-test-9c49ce7f6c5ca031/out/libfoo.a(test.o) ``` It seems that, according to clang, passing a struct by value should inline the fields, while for Rust it should be passed by pointer. I uploaded an example project here: https://github.com/tomaka/wasm-abi-test It can be built with something like: > AR_wasm32_wasi=/path/to/wasi-sdk-10.0/bin/ar CC_wasm32_wasi=/path/to/wasi-sdk-10.0/bin/clang cargo run --target=wasm32-wasi Rust version: rustc 1.44.0-nightly (38114ff16 2020-03-21)
A-FFI,T-compiler,O-wasm,C-bug,A-ABI
medium
Critical