[INFO] fetching crate libfranka-rs 0.9.0... [INFO] testing libfranka-rs-0.9.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate libfranka-rs 0.9.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate libfranka-rs 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libfranka-rs 0.9.0 [INFO] tweaked toml for crates.io crate libfranka-rs 0.9.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libfranka-rs 0.9.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libfranka-rs 0.9.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded float_extras v0.1.6 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded serde_repr v0.1.7 [INFO] [stderr] Downloaded clap_derive v3.1.7 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded rand_distr v0.3.0 [INFO] [stderr] Downloaded mockall_derive v0.9.1 [INFO] [stderr] Downloaded libm v0.2.2 [INFO] [stderr] Downloaded predicates v1.0.8 [INFO] [stderr] Downloaded nix v0.20.2 [INFO] [stderr] Downloaded mockall v0.9.1 [INFO] [stderr] Downloaded simba v0.3.1 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded syn v1.0.90 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded nalgebra v0.23.2 [INFO] [stderr] Downloaded clap v3.1.7 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded libc v0.2.121 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c035e302d7266194d4f6706a0301ab9bac7f388fd2e372592966da8bb0ca6e9 [INFO] running `Command { std: "docker" "start" "-a" "4c035e302d7266194d4f6706a0301ab9bac7f388fd2e372592966da8bb0ca6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c035e302d7266194d4f6706a0301ab9bac7f388fd2e372592966da8bb0ca6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c035e302d7266194d4f6706a0301ab9bac7f388fd2e372592966da8bb0ca6e9", kill_on_drop: false }` [INFO] [stdout] 4c035e302d7266194d4f6706a0301ab9bac7f388fd2e372592966da8bb0ca6e9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb4a20e2eaf30b1598791b6dc9d4fa251dce501fe199429605c8a687fe1049a9 [INFO] running `Command { std: "docker" "start" "-a" "eb4a20e2eaf30b1598791b6dc9d4fa251dce501fe199429605c8a687fe1049a9", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling nalgebra v0.23.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling libfranka-rs v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] 320 + commanded_O_dP_EE_c[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:323:46 [INFO] [stdout] | [INFO] [stdout] 323 | commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] 323 + commanded_O_dP_EE_c[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:66 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[0], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:75 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[1], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:84 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[2]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | -w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - -w_norm[(2)], [INFO] [stdout] 347 + -w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 348 - w_norm[(1)], [INFO] [stdout] 348 + w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 349 - w_norm[(2)], [INFO] [stdout] 349 + w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | -w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 351 - -w_norm[(0)], [INFO] [stdout] 351 + -w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | -w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - -w_norm[(1)], [INFO] [stdout] 352 + -w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 353 - w_norm[(0)], [INFO] [stdout] 353 + w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | limited_values[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 421 - limited_values[i] = dx_head[(i)]; [INFO] [stdout] 421 + limited_values[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 424 - limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] 424 + limited_values[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefaultStatus` is never used [INFO] [stdout] --> src/robot/service_types.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum DefaultStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsupportedPlatform` is never constructed [INFO] [stdout] --> src/model/library_downloader.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UnsupportedPlatform {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 33.58s [INFO] running `Command { std: "docker" "inspect" "eb4a20e2eaf30b1598791b6dc9d4fa251dce501fe199429605c8a687fe1049a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4a20e2eaf30b1598791b6dc9d4fa251dce501fe199429605c8a687fe1049a9", kill_on_drop: false }` [INFO] [stdout] eb4a20e2eaf30b1598791b6dc9d4fa251dce501fe199429605c8a687fe1049a9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e13bb0230332765b0d0e4f609c63ee0b620c0f58c67449f96337f6b620f7a5a [INFO] running `Command { std: "docker" "start" "-a" "3e13bb0230332765b0d0e4f609c63ee0b620c0f58c67449f96337f6b620f7a5a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling mockall_derive v0.9.1 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling float_extras v0.1.6 [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] 320 + commanded_O_dP_EE_c[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:323:46 [INFO] [stdout] | [INFO] [stdout] 323 | commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] 323 + commanded_O_dP_EE_c[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:66 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[0], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:75 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[1], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:84 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[2]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | -w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - -w_norm[(2)], [INFO] [stdout] 347 + -w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 348 - w_norm[(1)], [INFO] [stdout] 348 + w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 349 - w_norm[(2)], [INFO] [stdout] 349 + w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | -w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 351 - -w_norm[(0)], [INFO] [stdout] 351 + -w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | -w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - -w_norm[(1)], [INFO] [stdout] 352 + -w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 353 - w_norm[(0)], [INFO] [stdout] 353 + w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | limited_values[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 421 - limited_values[i] = dx_head[(i)]; [INFO] [stdout] 421 + limited_values[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 424 - limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] 424 + limited_values[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefaultStatus` is never used [INFO] [stdout] --> src/robot/service_types.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum DefaultStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsupportedPlatform` is never constructed [INFO] [stdout] --> src/model/library_downloader.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UnsupportedPlatform {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling clap v3.1.7 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling mockall v0.9.1 [INFO] [stderr] Compiling libfranka-rs v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stdout] 320 + commanded_O_dP_EE_c[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:323:46 [INFO] [stdout] | [INFO] [stdout] 323 | commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stdout] 323 + commanded_O_dP_EE_c[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:66 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[0], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:75 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[1], dx[(2)]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:338:84 [INFO] [stdout] | [INFO] [stdout] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stdout] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[2]) * DELTA_T, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | -w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - -w_norm[(2)], [INFO] [stdout] 347 + -w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 348 - w_norm[(1)], [INFO] [stdout] 348 + w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | w_norm[(2)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 349 - w_norm[(2)], [INFO] [stdout] 349 + w_norm[2], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | -w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 351 - -w_norm[(0)], [INFO] [stdout] 351 + -w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | -w_norm[(1)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - -w_norm[(1)], [INFO] [stdout] 352 + -w_norm[1], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | w_norm[(0)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 353 - w_norm[(0)], [INFO] [stdout] 353 + w_norm[0], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | limited_values[i] = dx_head[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 421 - limited_values[i] = dx_head[(i)]; [INFO] [stdout] 421 + limited_values[i] = dx_head[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/robot/rate_limiting.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 424 - limited_values[i + 3] = dx_tail[(i)]; [INFO] [stdout] 424 + limited_values[i + 3] = dx_tail[i]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefaultStatus` is never used [INFO] [stdout] --> src/robot/service_types.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum DefaultStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsupportedPlatform` is never constructed [INFO] [stdout] --> src/model/library_downloader.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UnsupportedPlatform {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/robot/error.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FrankaError` [INFO] [stdout] 13 | pub enum FrankaError { [INFO] [stdout] | ----------- `FrankaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 44.56s [INFO] running `Command { std: "docker" "inspect" "3e13bb0230332765b0d0e4f609c63ee0b620c0f58c67449f96337f6b620f7a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e13bb0230332765b0d0e4f609c63ee0b620c0f58c67449f96337f6b620f7a5a", kill_on_drop: false }` [INFO] [stdout] 3e13bb0230332765b0d0e4f609c63ee0b620c0f58c67449f96337f6b620f7a5a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a78891405b48c53f2e832b62f9ecc2032a4d26eb711354d83b09025115cc80f5 [INFO] running `Command { std: "docker" "start" "-a" "a78891405b48c53f2e832b62f9ecc2032a4d26eb711354d83b09025115cc80f5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:320:42 [INFO] [stderr] | [INFO] [stderr] 320 | commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 320 - commanded_O_dP_EE_c[i] = dx_head[(i)]; [INFO] [stderr] 320 + commanded_O_dP_EE_c[i] = dx_head[i]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:323:46 [INFO] [stderr] | [INFO] [stderr] 323 | commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 323 - commanded_O_dP_EE_c[i + 3] = dx_tail[(i)]; [INFO] [stderr] 323 + commanded_O_dP_EE_c[i + 3] = dx_tail[i]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:338:66 [INFO] [stderr] | [INFO] [stderr] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[0], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:338:75 [INFO] [stderr] | [INFO] [stderr] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[1], dx[(2)]) * DELTA_T, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:338:84 [INFO] [stderr] | [INFO] [stderr] 338 | last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 338 - last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[(2)]) * DELTA_T, [INFO] [stderr] 338 + last_commanded_pose.translation.vector + Vector3::new(dx[(0)], dx[(1)], dx[2]) * DELTA_T, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:347:21 [INFO] [stderr] | [INFO] [stderr] 347 | -w_norm[(2)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 347 - -w_norm[(2)], [INFO] [stderr] 347 + -w_norm[2], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:348:20 [INFO] [stderr] | [INFO] [stderr] 348 | w_norm[(1)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 348 - w_norm[(1)], [INFO] [stderr] 348 + w_norm[1], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:349:20 [INFO] [stderr] | [INFO] [stderr] 349 | w_norm[(2)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 349 - w_norm[(2)], [INFO] [stderr] 349 + w_norm[2], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:351:21 [INFO] [stderr] | [INFO] [stderr] 351 | -w_norm[(0)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 351 - -w_norm[(0)], [INFO] [stderr] 351 + -w_norm[0], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | -w_norm[(1)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 352 - -w_norm[(1)], [INFO] [stderr] 352 + -w_norm[1], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:353:20 [INFO] [stderr] | [INFO] [stderr] 353 | w_norm[(0)], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 353 - w_norm[(0)], [INFO] [stderr] 353 + w_norm[0], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:421:37 [INFO] [stderr] | [INFO] [stderr] 421 | limited_values[i] = dx_head[(i)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 421 - limited_values[i] = dx_head[(i)]; [INFO] [stderr] 421 + limited_values[i] = dx_head[i]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/robot/rate_limiting.rs:424:41 [INFO] [stderr] | [INFO] [stderr] 424 | limited_values[i + 3] = dx_tail[(i)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 424 - limited_values[i + 3] = dx_tail[(i)]; [INFO] [stderr] 424 + limited_values[i + 3] = dx_tail[i]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: enum `DefaultStatus` is never used [INFO] [stderr] --> src/robot/service_types.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | pub enum DefaultStatus { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `UnsupportedPlatform` is never constructed [INFO] [stderr] --> src/model/library_downloader.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct UnsupportedPlatform {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/robot/error.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrankaError` [INFO] [stderr] 13 | pub enum FrankaError { [INFO] [stderr] | ----------- `FrankaError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/robot/error.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FrankaError` [INFO] [stderr] 13 | pub enum FrankaError { [INFO] [stderr] | ----------- `FrankaError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libfranka-rs` (lib) generated 17 warnings (run `cargo fix --lib -p libfranka-rs` to apply 13 suggestions) [INFO] [stderr] warning: `libfranka-rs` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/franka-7c73453964c1c209) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test model::model_library::test::coriolis_test ... ignored [INFO] [stdout] test model::model_library::test::m_ne_test ... ignored [INFO] [stdout] test model::model_library::test::can_generate_model_exception ... ok [INFO] [stdout] test network::tests::can_serialize_and_deserialize ... ok [INFO] [stdout] test robot::low_pass_filter::tests::low_pass_cartesian_test ... ok [INFO] [stdout] test robot::low_pass_filter::tests::low_pass_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::cartesian_pose_integration_and_differentiation_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::limit_rate_cartesian_pose_nan_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::limit_rate_cartesian_pose_constant_pose_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::limit_rate_cartesian_test ... ok [INFO] [stdout] test robot::robot_state::tests::combine_com_test ... ok [INFO] [stdout] test robot::robot_state::tests::inertia_zero_test ... ok [INFO] [stdout] test utils::test::motion_generator ... ok [INFO] [stdout] test utils::test::array_to_isometry_nan_test_1 ... ok [INFO] [stdout] test utils::test::array_to_isometry_nan_test_2 ... ok [INFO] [stdout] test robot::tests::fail_start_motion_test ... FAILED [INFO] [stdout] test gripper::tests::gripper_grasp_test has been running for over 60 seconds [INFO] [stdout] test gripper::tests::gripper_homing_test has been running for over 60 seconds [INFO] [stdout] test gripper::tests::gripper_move_test has been running for over 60 seconds [INFO] [stdout] test gripper::tests::gripper_read_once has been running for over 60 seconds [INFO] [stdout] test gripper::tests::gripper_stop_test has been running for over 60 seconds [INFO] [stdout] test gripper::tests::incompatible_library has been running for over 60 seconds [INFO] [stdout] test robot::tests::incompatible_library has been running for over 60 seconds [INFO] [stdout] test robot::tests::robot_read has been running for over 60 seconds [INFO] [stdout] test robot::tests::robot_read_once has been running for over 60 seconds [INFO] [stdout] test robot::tests::set_collision_behavior_test has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "a78891405b48c53f2e832b62f9ecc2032a4d26eb711354d83b09025115cc80f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78891405b48c53f2e832b62f9ecc2032a4d26eb711354d83b09025115cc80f5", kill_on_drop: false }` [INFO] [stdout] a78891405b48c53f2e832b62f9ecc2032a4d26eb711354d83b09025115cc80f5