[INFO] cloning repository https://github.com/qi-xmu/vins-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qi-xmu/vins-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqi-xmu%2Fvins-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqi-xmu%2Fvins-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37c6a179556458e49b0dd82de4d91fe34f69168b [INFO] checking qi-xmu/vins-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqi-xmu%2Fvins-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qi-xmu/vins-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qi-xmu/vins-rs [INFO] finished tweaking git repo https://github.com/qi-xmu/vins-rs [INFO] tweaked toml for git repo https://github.com/qi-xmu/vins-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qi-xmu/vins-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.17 [INFO] [stderr] Downloaded opencv-binding-generator v0.89.1 [INFO] [stderr] Downloaded opencv v0.91.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d6a99dda6379a2f3e5f4fd69aea0d821612262b6e4be285ce51d24e7df8a1e [INFO] running `Command { std: "docker" "start" "-a" "66d6a99dda6379a2f3e5f4fd69aea0d821612262b6e4be285ce51d24e7df8a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d6a99dda6379a2f3e5f4fd69aea0d821612262b6e4be285ce51d24e7df8a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d6a99dda6379a2f3e5f4fd69aea0d821612262b6e4be285ce51d24e7df8a1e", kill_on_drop: false }` [INFO] [stdout] 66d6a99dda6379a2f3e5f4fd69aea0d821612262b6e4be285ce51d24e7df8a1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ad274d7feb4ccd62e0d55fd3296120d3e247f5d9309ef9b59e92a7a34793abc [INFO] running `Command { std: "docker" "start" "-a" "9ad274d7feb4ccd62e0d55fd3296120d3e247f5d9309ef9b59e92a7a34793abc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking wide v0.7.17 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling opencv-binding-generator v0.89.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling vins-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling opencv v0.91.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/pose_estimator/mod.rs:517:29 [INFO] [stdout] | [INFO] [stdout] 517 | fn imu_available(&self, t: i64) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/pose_estimator/mod.rs:517:29 [INFO] [stdout] | [INFO] [stdout] 517 | fn imu_available(&self, t: i64) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FREQUENCY` is never used [INFO] [stdout] --> src/main.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | const FREQUENCY: i32 = 20; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_camera_type` is never used [INFO] [stdout] --> src/camera/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait CameraTrait: Default { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 39 | fn lift_projective(&self, p: &Point2d) -> Point3d; [INFO] [stdout] 40 | fn get_camera_type(&self) -> CameraType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to_yaml` is never used [INFO] [stdout] --> src/camera/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait CameraParametersTrait: Default { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn write_to_yaml(&self, path: &str) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cam1s` and `imu0s` are never read [INFO] [stdout] --> src/dataset/euroc.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EuRoCDataset { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub cam0s: Vec<(i64, String)>, [INFO] [stdout] 8 | pub cam1s: Vec<(i64, String)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub imu0s: Vec<(i64, [f64; 6])>, // t, gyro and acce [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EuRoCDataset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `camera_id` and `velocity` are never read [INFO] [stdout] --> src/feature_trakcer.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 545 | pub struct PointFeature { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 546 | /// 相机id [INFO] [stdout] 547 | pub camera_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub velocity: nalgebra::Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointFeature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `images` is never read [INFO] [stdout] --> src/pose_estimator/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Estimator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub images: VecDeque, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Estimator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `failure_detection` and `set_parameters` are never used [INFO] [stdout] --> src/pose_estimator/mod.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Estimator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn failure_detection(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn set_parameters(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/pose_estimator/feature_manager.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FeaturePerFrame(pub PointFeature, pub i64); [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FeaturePerFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/pose_estimator/image_frame.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | /// 时间戳 [INFO] [stdout] 9 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_camera_type` is never used [INFO] [stdout] --> src/camera/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait CameraTrait: Default { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 39 | fn lift_projective(&self, p: &Point2d) -> Point3d; [INFO] [stdout] 40 | fn get_camera_type(&self) -> CameraType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cam1s` and `imu0s` are never read [INFO] [stdout] --> src/dataset/euroc.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EuRoCDataset { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub cam0s: Vec<(i64, String)>, [INFO] [stdout] 8 | pub cam1s: Vec<(i64, String)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub imu0s: Vec<(i64, [f64; 6])>, // t, gyro and acce [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EuRoCDataset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `camera_id` and `velocity` are never read [INFO] [stdout] --> src/feature_trakcer.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 545 | pub struct PointFeature { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 546 | /// 相机id [INFO] [stdout] 547 | pub camera_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub velocity: nalgebra::Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointFeature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `images` is never read [INFO] [stdout] --> src/pose_estimator/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Estimator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub images: VecDeque, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Estimator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `failure_detection` and `set_parameters` are never used [INFO] [stdout] --> src/pose_estimator/mod.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl Estimator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn failure_detection(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn set_parameters(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/pose_estimator/feature_manager.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FeaturePerFrame(pub PointFeature, pub i64); [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FeaturePerFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/pose_estimator/image_frame.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageFrame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | /// 时间戳 [INFO] [stdout] 9 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 52.36s [INFO] running `Command { std: "docker" "inspect" "9ad274d7feb4ccd62e0d55fd3296120d3e247f5d9309ef9b59e92a7a34793abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad274d7feb4ccd62e0d55fd3296120d3e247f5d9309ef9b59e92a7a34793abc", kill_on_drop: false }` [INFO] [stdout] 9ad274d7feb4ccd62e0d55fd3296120d3e247f5d9309ef9b59e92a7a34793abc