[INFO] fetching crate e_drone_base 0.1.0... [INFO] checking e_drone_base-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate e_drone_base 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate e_drone_base 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate e_drone_base 0.1.0 [INFO] finished tweaking crates.io crate e_drone_base 0.1.0 [INFO] tweaked toml for crates.io crate e_drone_base 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 658bf67435de8518d2f874de9f6f1943313494ece9b2a9cbc0f8d51a4f756a0c [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" "658bf67435de8518d2f874de9f6f1943313494ece9b2a9cbc0f8d51a4f756a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "658bf67435de8518d2f874de9f6f1943313494ece9b2a9cbc0f8d51a4f756a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658bf67435de8518d2f874de9f6f1943313494ece9b2a9cbc0f8d51a4f756a0c", kill_on_drop: false }` [INFO] [stdout] 658bf67435de8518d2f874de9f6f1943313494ece9b2a9cbc0f8d51a4f756a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ac425bd370127c0f05671da3637d474d082d0937e344b2cdbb71ec9e970f11e [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" "5ac425bd370127c0f05671da3637d474d082d0937e344b2cdbb71ec9e970f11e", kill_on_drop: false }` [INFO] [stderr] Checking e_drone_base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum is never used: `ModelNumber` [INFO] [stdout] --> src/base/system.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ModelNumber { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DeviceType` [INFO] [stdout] --> src/base/system.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum DeviceType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CRC16TABLE` [INFO] [stdout] --> src/communication/crc16.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / const CRC16TABLE: [u16; 256] = [ [INFO] [stdout] 2 | | 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, [INFO] [stdout] 3 | | 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6, [INFO] [stdout] 4 | | 0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de, 0x2462, 0x3443, 0x0420, 0x1401, [INFO] [stdout] ... | [INFO] [stdout] 23 | | 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0, [INFO] [stdout] 24 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_byte` [INFO] [stdout] --> src/communication/crc16.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn calc_byte(crc: u16, b: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_array` [INFO] [stdout] --> src/communication/crc16.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_array(crc: u16, data_array: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/communication/messaging.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Section` [INFO] [stdout] --> src/communication/messaging.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Section { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Receiver` [INFO] [stdout] --> src/communication/receiver.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DataType` [INFO] [stdout] --> src/protocol.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Data` [INFO] [stdout] --> src/protocol.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `CommandType` [INFO] [stdout] --> src/protocol.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Header` [INFO] [stdout] --> src/protocol.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ModelNumber` [INFO] [stdout] --> src/base/system.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ModelNumber { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DeviceType` [INFO] [stdout] --> src/base/system.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum DeviceType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CRC16TABLE` [INFO] [stdout] --> src/communication/crc16.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / const CRC16TABLE: [u16; 256] = [ [INFO] [stdout] 2 | | 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, [INFO] [stdout] 3 | | 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6, [INFO] [stdout] 4 | | 0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de, 0x2462, 0x3443, 0x0420, 0x1401, [INFO] [stdout] ... | [INFO] [stdout] 23 | | 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0, [INFO] [stdout] 24 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_byte` [INFO] [stdout] --> src/communication/crc16.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn calc_byte(crc: u16, b: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_array` [INFO] [stdout] --> src/communication/crc16.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn calc_array(crc: u16, data_array: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/communication/messaging.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Section` [INFO] [stdout] --> src/communication/messaging.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Section { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Receiver` [INFO] [stdout] --> src/communication/receiver.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DataType` [INFO] [stdout] --> src/protocol.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Data` [INFO] [stdout] --> src/protocol.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `CommandType` [INFO] [stdout] --> src/protocol.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Header` [INFO] [stdout] --> src/protocol.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ac425bd370127c0f05671da3637d474d082d0937e344b2cdbb71ec9e970f11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac425bd370127c0f05671da3637d474d082d0937e344b2cdbb71ec9e970f11e", kill_on_drop: false }` [INFO] [stdout] 5ac425bd370127c0f05671da3637d474d082d0937e344b2cdbb71ec9e970f11e