Closed Bug 1211439 Opened 9 years ago Closed 9 years ago

rust builds failing

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

Tracking

(firefox44 affected)

RESOLVED FIXED
Tracking Status
firefox44 --- affected

People

(Reporter: fubar, Unassigned)

References

Details

started failing over the weekend, I think: A worker failed while indexing /builds/dxr-build-env/src/rust-lang/rust/src/libcore/any.rs: Traceback (most recent call last): File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/build.py", line 581, in index_chunk index_file(tree, tree_indexers, path, es, index) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/build.py", line 485, in index_file file_to_index.needles_by_line()) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/plugins/rust/__init__.py", line 65, in needles_by_line return self.all_needles() File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/plugins/rust/__init__.py", line 134, in all_needles self.call_needles(self.tree_index.callees, 'callers'), File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/indexers.py", line 656, in iterable_per_line line_map = group_by(lambda (k, v, extent): extent.start.row, triples) # {line: triples} File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/funcy/funcmakers.py", line 41, in <lambda> return wraps(func)(lambda f, *seqs: func(make_func(f, builtin=builtin, test=test), *seqs)) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/funcy/seqs.py", line 244, in group_by for item in seq: File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/indexers.py", line 647, in with_start_and_end for key, mapping, extent in triples: File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/plugins/rust/__init__.py", line 218, in inherit_needles 'qualname': all_types[s]['qualname'], KeyError: 71098 Traceback (most recent call last): File "/builds/dxr-build-env/venv/bin/dxr", line 9, in <module> load_entry_point('dxr==2.0', 'console_scripts', 'dxr')() File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/cli/__init__.py", line 29, in main return dxr.invoke(ctx) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/click/core.py", line 837, in invoke return ctx.invoke(self.callback, **ctx.params) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/click/core.py", line 464, in invoke return callback(*args, **kwargs) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/cli/index.py", line 26, in index index_and_deploy_tree(tree, verbose=verbose) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/build.py", line 64, in index_and_deploy_tree index_name = index_tree(tree, es, verbose=verbose) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/build.py", line 275, in index_tree index_files(tree, tree_indexers, index, pool, es) File "/builds/dxr-build-env/venv/local/lib/python2.7/site-packages/dxr-2.0-py2.7.egg/dxr/build.py", line 645, in index_files raise type, value # exits with non-zero KeyError: 71098
Blocks: oxidation
This PR to the compiler fixes things properly: https://github.com/rust-lang/rust/pull/29040 I guess you'll get this automatically once it lands and makes it to a nightly.
Awesome! Rust is indexing again as of last night.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.