[INFO] fetching crate libfranka-rs 0.9.0... [INFO] testing libfranka-rs-0.9.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libfranka-rs 0.9.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libfranka-rs 0.9.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b00853fe133011103562b16e2141cbc35647c612b53f04be89dbc5d612ce67f7 [INFO] running `Command { std: "docker" "start" "-a" "b00853fe133011103562b16e2141cbc35647c612b53f04be89dbc5d612ce67f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b00853fe133011103562b16e2141cbc35647c612b53f04be89dbc5d612ce67f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b00853fe133011103562b16e2141cbc35647c612b53f04be89dbc5d612ce67f7", kill_on_drop: false }` [INFO] [stdout] b00853fe133011103562b16e2141cbc35647c612b53f04be89dbc5d612ce67f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f68ce0e6242f64ae734f92e464f5ac299e29cc011be96f3f775f038adb1cae9 [INFO] running `Command { std: "docker" "start" "-a" "3f68ce0e6242f64ae734f92e464f5ac299e29cc011be96f3f775f038adb1cae9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [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 getrandom v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [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 typenum v1.15.0 [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 rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [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 simba v0.3.1 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 32.85s [INFO] running `Command { std: "docker" "inspect" "3f68ce0e6242f64ae734f92e464f5ac299e29cc011be96f3f775f038adb1cae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f68ce0e6242f64ae734f92e464f5ac299e29cc011be96f3f775f038adb1cae9", kill_on_drop: false }` [INFO] [stdout] 3f68ce0e6242f64ae734f92e464f5ac299e29cc011be96f3f775f038adb1cae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ac3730c2fb2a60872b5f6a0a5123a7e63610c94a90c77c1361786abc35c4aff [INFO] running `Command { std: "docker" "start" "-a" "2ac3730c2fb2a60872b5f6a0a5123a7e63610c94a90c77c1361786abc35c4aff", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling mockall_derive v0.9.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.10.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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling clap v3.1.7 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 57.73s [INFO] running `Command { std: "docker" "inspect" "2ac3730c2fb2a60872b5f6a0a5123a7e63610c94a90c77c1361786abc35c4aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac3730c2fb2a60872b5f6a0a5123a7e63610c94a90c77c1361786abc35c4aff", kill_on_drop: false }` [INFO] [stdout] 2ac3730c2fb2a60872b5f6a0a5123a7e63610c94a90c77c1361786abc35c4aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7693bdd3ddb95ec76c4a4d27449866b2ebd3d19b19c2921fb4ed9bde3795b30b [INFO] running `Command { std: "docker" "start" "-a" "7693bdd3ddb95ec76c4a4d27449866b2ebd3d19b19c2921fb4ed9bde3795b30b", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.13s [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 robot::low_pass_filter::tests::low_pass_cartesian_test ... ok [INFO] [stdout] test network::tests::can_serialize_and_deserialize ... ok [INFO] [stdout] test robot::low_pass_filter::tests::low_pass_test ... ok [INFO] [stdout] test model::model_library::test::can_generate_model_exception ... 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_test ... ok [INFO] [stdout] test gripper::tests::gripper_stop_test ... ok [INFO] [stdout] test robot::robot_state::tests::combine_com_test ... ok [INFO] [stdout] test utils::test::array_to_isometry_nan_test_2 ... ok [INFO] [stdout] test utils::test::motion_generator ... ok [INFO] [stdout] test robot::robot_state::tests::inertia_zero_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::limit_rate_cartesian_pose_constant_pose_test ... ok [INFO] [stdout] test robot::rate_limiting::tests::cartesian_pose_integration_and_differentiation_test ... ok [INFO] [stdout] test robot::tests::robot_read_once ... FAILED [INFO] [stdout] test utils::test::array_to_isometry_nan_test_1 ... ok [INFO] [stdout] test robot::tests::incompatible_library ... 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::incompatible_library has been running for over 60 seconds [INFO] [stdout] test robot::tests::fail_start_motion_test 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::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" "7693bdd3ddb95ec76c4a4d27449866b2ebd3d19b19c2921fb4ed9bde3795b30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7693bdd3ddb95ec76c4a4d27449866b2ebd3d19b19c2921fb4ed9bde3795b30b", kill_on_drop: false }` [INFO] [stdout] 7693bdd3ddb95ec76c4a4d27449866b2ebd3d19b19c2921fb4ed9bde3795b30b