[INFO] fetching crate dynamixel 0.1.1... [INFO] testing dynamixel-0.1.1 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate dynamixel 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate dynamixel 0.1.1 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dynamixel 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate dynamixel 0.1.1 [INFO] tweaked toml for crates.io crate dynamixel 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serialport v2.3.0 [INFO] [stderr] Downloaded badlog v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e31d6c293637cdd37399602e94cc7ff2016a0a51307050d7dcf7054a2709e648 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e31d6c293637cdd37399602e94cc7ff2016a0a51307050d7dcf7054a2709e648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e31d6c293637cdd37399602e94cc7ff2016a0a51307050d7dcf7054a2709e648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31d6c293637cdd37399602e94cc7ff2016a0a51307050d7dcf7054a2709e648", kill_on_drop: false }` [INFO] [stdout] e31d6c293637cdd37399602e94cc7ff2016a0a51307050d7dcf7054a2709e648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae115c9b3fb5c04bad3d45d27c68327c05f73f89dad7e3ee01603040f4116b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eae115c9b3fb5c04bad3d45d27c68327c05f73f89dad7e3ee01603040f4116b8", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling dynamixel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unicast` [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "eae115c9b3fb5c04bad3d45d27c68327c05f73f89dad7e3ee01603040f4116b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae115c9b3fb5c04bad3d45d27c68327c05f73f89dad7e3ee01603040f4116b8", kill_on_drop: false }` [INFO] [stdout] eae115c9b3fb5c04bad3d45d27c68327c05f73f89dad7e3ee01603040f4116b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5b194a82e8271b9024be4cc1e5f0e3fb148c92aad02c3441bed3f4fe808ae57 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f5b194a82e8271b9024be4cc1e5f0e3fb148c92aad02c3441bed3f4fe808ae57", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unicast` [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serialport v2.3.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling badlog v1.1.1 [INFO] [stderr] Compiling dynamixel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.97s [INFO] running `Command { std: "docker" "inspect" "f5b194a82e8271b9024be4cc1e5f0e3fb148c92aad02c3441bed3f4fe808ae57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b194a82e8271b9024be4cc1e5f0e3fb148c92aad02c3441bed3f4fe808ae57", kill_on_drop: false }` [INFO] [stdout] f5b194a82e8271b9024be4cc1e5f0e3fb148c92aad02c3441bed3f4fe808ae57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20b756b39ace3d54c3ef8b3da5c86b38993706719ce808f4a8603471a2d36bb6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "20b756b39ace3d54c3ef8b3da5c86b38993706719ce808f4a8603471a2d36bb6", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stdout] running 15 tests [INFO] [stderr] --> src/lib.rs:10:1 [INFO] [stdout] test protocol1::instruction::tests::test_pong ... ok [INFO] [stderr] | [INFO] [stdout] test protocol1::instruction::tests::test_write ... ok [INFO] [stderr] 10 | #[macro_use] [INFO] [stdout] test protocol2::crc::tests::calculate_checksum_raw ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test protocol2::instruction::tests::test_ping ... ok [INFO] [stderr] | [INFO] [stdout] test protocol1::instruction::tests::test_read ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] test protocol2::instruction::tests::test_pong_mixed ... ok [INFO] [stderr] [INFO] [stdout] test protocol2::instruction::tests::test_pong ... ok [INFO] [stderr] warning: unused import: `BaudRate` [INFO] [stdout] test protocol2::instruction::tests::test_read_response_byte ... ok [INFO] [stderr] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] test protocol2::instruction::tests::test_read_response_slice ... ok [INFO] [stderr] | [INFO] [stdout] test protocol2::instruction::tests::test_write ... ok [INFO] [stderr] 5 | use BaudRate; [INFO] [stdout] test protocol2::instruction::tests::test_write_response_byte ... ok [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] test protocol2::instruction::tests::test_write_response_mixed ... ok [INFO] [stderr] [INFO] [stdout] test protocol2::instruction::tests::test_read ... ok [INFO] [stderr] warning: unused import: `CommunicationError` [INFO] [stdout] test protocol1::instruction::tests::test_ping ... ok [INFO] [stderr] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 6 | use CommunicationError; [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/protocol1/mod.rs:168:20 [INFO] [stderr] | [INFO] [stderr] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `BaudRate` [INFO] [stderr] --> src/protocol2/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use BaudRate; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/protocol2/mod.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interface` [INFO] [stderr] --> src/protocol2/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use Interface; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/instruction.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/instruction.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `baud_rate` [INFO] [stderr] --> src/protocol1/mod.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | baud_rate: ::BaudRate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `model_number` [INFO] [stderr] --> src/protocol1/mod.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | model_number: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/mod.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Broadcast` [INFO] [stderr] --> src/protocol1/mod.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | Broadcast, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unicast` [INFO] [stderr] --> src/protocol1/mod.rs:334:12 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `broadcast` [INFO] [stderr] --> src/protocol1/mod.rs:339:12 [INFO] [stderr] | [INFO] [stderr] 339 | pub fn broadcast() -> PacketID { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/protocol1/mod.rs:369:8 [INFO] [stderr] | [INFO] [stderr] 369 | fn value(&self) -> u16 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calc` [INFO] [stderr] --> src/protocol2/crc.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `variants` [INFO] [stderr] --> src/lib.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 137 | fn variants() -> &'static [Self] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dynamixel` (lib) generated 18 warnings [INFO] [stderr] warning: `dynamixel` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dynamixel-7226ee3d3b5c6226) [INFO] [stderr] Doc-tests dynamixel [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20b756b39ace3d54c3ef8b3da5c86b38993706719ce808f4a8603471a2d36bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b756b39ace3d54c3ef8b3da5c86b38993706719ce808f4a8603471a2d36bb6", kill_on_drop: false }` [INFO] [stdout] 20b756b39ace3d54c3ef8b3da5c86b38993706719ce808f4a8603471a2d36bb6