)]}'
{
  "commit": "75d72ae6d7cc6ca916acc3bc385bde29d0b7714b",
  "tree": "1197b139854d68db87543447977b3b7514092476",
  "parents": [
    "bc0578798f50d018ca4278ad5610598c400992c9"
  ],
  "author": {
    "name": "Damien Elmes",
    "email": "dae@users.noreply.github.com",
    "time": "Tue Dec 08 10:06:17 2020 +1000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Dec 07 19:06:17 2020 -0500"
  },
  "message": "fail build on any warnings when running clippy (#456)\n\n* fail build on any warnings when running clippy\r\n\r\nCurrently warnings from rustc such as an unused import are printed\r\nduring first execution, but they do not fail the build. If cargo users\r\nrun clippy again, the same warnings get printed, but with Bazel nothing\r\nis shown, as the previous success is cached.\r\n\r\nThis patch changes all warnings into errors, with the rationale being\r\nthat if we\u0027re failing for any clippy warning, it probably makes sense\r\nto fail for rustc warnings as well.\r\n\r\n* clippy aspect needs to include --test on command line for tests\r\n\r\nWithout it, items imported in integration tests generate unused import\r\nwarnings, which fail the build.\r\n\r\n* tag bindgen libaries, and don\u0027t fail when they generate warnings",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a86e264ff030c3b17eba5253f17ce64bbf7d2bb",
      "old_mode": 33188,
      "old_path": "bindgen/bindgen.bzl",
      "new_id": "92d8119d1b74c4ade0e1034619d84c2306430bd8",
      "new_mode": 33188,
      "new_path": "bindgen/bindgen.bzl"
    },
    {
      "type": "modify",
      "old_id": "be3435681b8bca57bcdbe8610fe1da3ca94f41c2",
      "old_mode": 33188,
      "old_path": "examples/hello_lib/tests/greeting.rs",
      "new_id": "6084d136506b5d4a119e8454f93846df720cc6ad",
      "new_mode": 33188,
      "new_path": "examples/hello_lib/tests/greeting.rs"
    },
    {
      "type": "modify",
      "old_id": "2089353c22a2bb09f916be5599b6c76fcb95a823",
      "old_mode": 33188,
      "old_path": "rust/private/clippy.bzl",
      "new_id": "f1bc6dcd3c76c2840f21cb136d98e2fbaedb5217",
      "new_mode": 33188,
      "new_path": "rust/private/clippy.bzl"
    }
  ]
}
