Closed Bug 1612988 Opened 5 years ago Closed 5 years ago

Wrench fails compiling peek-poke with rustc 1.41

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: chmanchester, Assigned: nical)

References

Details

Attachments

(1 file)

As in https://treeherder.mozilla.org/#/jobs?repo=try&revision=be4ec95aa384b64008f01b04ddf7abcc8dbd25c2&selectedJob=287354044 :

[task 2020-02-03T19:48:55.510Z] error: unnecessary parentheses around type
[task 2020-02-03T19:48:55.510Z]   --> peek-poke/tests/max_size.rs:55:17
[task 2020-02-03T19:48:55.511Z]    |
[task 2020-02-03T19:48:55.511Z] 55 |     assert_eq!(<(isize)>::max_size(), size_of::<isize>());
[task 2020-02-03T19:48:55.511Z]    |                 ^^^^^^^ help: remove these parentheses
[task 2020-02-03T19:48:55.511Z]    |
[task 2020-02-03T19:48:55.511Z]    = note: `-D unused-parens` implied by `-D warnings`
[task 2020-02-03T19:48:55.511Z] 
[task 2020-02-03T19:48:55.643Z] error: aborting due to previous error
[task 2020-02-03T19:48:55.644Z] 
[task 2020-02-03T19:48:55.648Z] error: could not compile `peek-poke`.
[task 2020-02-03T19:48:55.648Z] 
[task 2020-02-03T19:48:55.648Z] Caused by:
[task 2020-02-03T19:48:55.648Z]   process didn't exit successfully: `rustc --edition=2018 --crate-name max_size peek-poke/tests/max_size.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="euclid"' --cfg 'feature="extras"' --cfg 'feature="peek-poke-derive"' -C metadata=58f62cf33974f440 -C extra-filename=-58f62cf33974f440 --out-dir /builds/worker/checkouts/gecko/gfx/wr/target/debug/deps -C incremental=/builds/worker/checkouts/gecko/gfx/wr/target/debug/incremental -L dependency=/builds/worker/checkouts/gecko/gfx/wr/target/debug/deps --extern euclid=/builds/worker/checkouts/gecko/gfx/wr/target/debug/deps/libeuclid-694e2540b78da76e.rlib --extern peek_poke=/builds/worker/checkouts/gecko/gfx/wr/target/debug/deps/libpeek_poke-5741aa5ab94552e3.rlib --extern peek_poke_derive=/builds/worker/checkouts/gecko/gfx/wr/target/debug/deps/libpeek_poke_derive-c4c5720d5c236f49.so --deny warnings` (exit code: 1)
[task 2020-02-03T19:48:55.648Z] warning: build failed, waiting for other jobs to finish...
[task 2020-02-03T19:49:09.595Z] error: build failed
Component: General → Graphics: WebRender
Product: Firefox Build System → Core
Assignee: nobody → nical.bugzilla
Priority: -- → P3

The test is meant to check that tupes work and a tuple of a single element needs a comma to differentiate it from just being the element.

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f020ddf90621 Fix warning in a peek_poke test. r=jrmuizel
Backout by shindli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23091d9bdbcd Backed out changeset f020ddf90621 for causing webrender bustage CLOSED TREE

[task 2020-02-05T15:49:26.183Z] ./peek-poke/tests/max_size.rs:55: missing space after ,

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6e26b09dcfc Fix warning in a peek_poke test. r=jrmuizel
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Flags: needinfo?(nical.bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: