cartographer-project / point_cloud_viewer

View billions of points in your browser.
Apache License 2.0
339 stars 98 forks source link

Li/rayon update final #481

Closed ljiang-lyft closed 3 years ago

ljiang-lyft commented 3 years ago

Note: This is a replacement Pr for https://github.com/cartographer-project/point_cloud_viewer/pull/477

Upgrade rayon to unblock using upgraded s3b version lyft/avmapping-geometry#725

cargo clippy --all-targets --all-features -- -D warnings shows similar warning errors as master. cargo build --workspace --verbose --all-targets passes locally cargo test --workspace passes

cargo test --workspace

Finished test [unoptimized + debuginfo] target(s) in 0.16s
 Running unittests (target/debug/deps/octree_web_viewer-588c913379e4b750)

running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/points_web_viewer-efc10a96c4b4aa9d) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/point_cloud_client-7b086778cab22e24) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/point_cloud_client_test-b9768a81e574d572) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/point_cloud_test_lib-a8790ec884f4b11a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/main.rs (target/debug/deps/main-cd6e0cf9d2577fdd) running 12 tests Building level 2: 1 / 4 [============================================>-------------------------------------------------------------------------------------------------------------------------------------] 25.00 % 1.73/s 2s test check_web_mercator_rect_point_culling_equality ... ok Building level 0: 1 / 1 [====================================================================================================================================================================================] 100.00 % 3.54/s test check_obb_point_culling_equality ... ok test check_frustum_point_culling_equality ... ok test check_box_point_culling_equality ... ok test num_points_in_octree_meta ... ok test num_points_in_s2_meta ... ok test check_cell_union_query_equality ... ok test check_web_mercator_rect_query_equality ... ok test check_frustum_query_equality ... ok test check_obb_query_equality ... ok test check_box_query_equality ... ok test check_all_query_equality ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 42.96s Running unittests (target/debug/deps/point_viewer-20543831118d4551) running 22 tests test geometry::frustum::tests::compare_perspective ... ok test geometry::web_mercator_rect::tests::wraparound_test ... ok test geometry::web_mercator_rect::tests::sagitta_test ... ok test math::tests::test_inverse ... ok test math::web_mercator::tests::projection_corners ... ok test math::web_mercator::tests::projection_ground_truth ... ok test math::web_mercator::tests::projection_roundtrip ... ok test octree::node::tests::test_bounding_box ... ok test octree::node::tests::test_child_index ... ok test octree::node::tests::test_parent_node_name ... ok test read_write::codec::tests::fixpoint_scalar ... ok test math::sat::tests::test_cube_with_cube ... ok test read_write::codec::tests::plain_scalar ... ok test math::tests::test_frustum_intersects_aabb ... ok test geometry::obb::tests::test_obb_intersects_aabb ... ok test read_write::ply::tests::test_xyz_f32_rgb_u8_intensity_f32_le ... ok test read_write::ply::tests::test_xyz_f32_rgba_u8_le ... ok test read_write::ply::tests::test_xyz_f32_rgb_u8_le ... ok test read_write::ply::tests::test_ply_read_write ... ok test geometry::web_mercator_rect::tests::intersection_test ... ok Building level 0: 1 / 1 [====================================================================================================================================================================================] 100.00 % 2.42/s test octree::tests::test_batch_iterator ... ok test octree::tests::test_batch_iterator_more_points ... ok test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s Running unittests (target/debug/deps/build_octree-a1a9cadf36690b13) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/upgrade_octree-ae865c04682dba56) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/point_viewer_proto_rust-c91f7ae978c84d40) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/protobuf_provider-509b3c7829c1df70) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/quadtree-a59b77e3ba22bebc) running 5 tests test tests::test_child_index ... ok test tests::test_conversion ... ok test tests::test_parent_node_name ... ok test tests::test_spatial_node_id_from_node_id ... ok test tests::test_to_string ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/sdl_viewer-d125ed783ee33528) running 1 test test graphic::moving_window_texture::tests::test_regions ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/sdl_viewer-7ea03f1fc36fd82b) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/xray-04e13af776004bef) running 1 test test utils::tests::node_id_to_paths_back_and_forth ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/build_xray_quadtree-bcc642f8d2cf01b0) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/inpaint_xray_quadtree-8fd97b130fbd5f38) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/merge_xray_quadtrees-cd80986c58446abf) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/upgrade_xray_quadtree-2eca6092cab665fa) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/web_viewer-7266ae56a7a82883) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests (target/debug/deps/xray_proto_rust-61ae512570198c2a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests octree_web_viewer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests point_cloud_client running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests point_cloud_test_lib running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests point_viewer running 1 test test src/math/sat.rs - math::sat (line 9) - compile ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Doc-tests point_viewer_proto_rust running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests protobuf_provider running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests quadtree running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests sdl_viewer running 1 test test /code/test/point_cloud_viewer/target/debug/build/sdl_viewer-5455869fa1ec4ada/out/bindings.rs - opengl::Gl::load_with (line 1919) ... ignored test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests xray running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests xray_proto_rust running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s