[INFO] updating cached repository https://github.com/lberezy/osquery-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d125a4c9ae773c300c8ea1dc07fb6fc8a86eb3f8 [INFO] testing lberezy/osquery-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flberezy%2Fosquery-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lberezy/osquery-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lberezy/osquery-rs [INFO] finished tweaking git repo https://github.com/lberezy/osquery-rs [INFO] tweaked toml for git repo https://github.com/lberezy/osquery-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14e32ad82f0caa53e7f1fb29929c3e1fc4accd09b59f57df4937c50ec255fd4e [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" "14e32ad82f0caa53e7f1fb29929c3e1fc4accd09b59f57df4937c50ec255fd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e32ad82f0caa53e7f1fb29929c3e1fc4accd09b59f57df4937c50ec255fd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e32ad82f0caa53e7f1fb29929c3e1fc4accd09b59f57df4937c50ec255fd4e", kill_on_drop: false }` [INFO] [stdout] 14e32ad82f0caa53e7f1fb29929c3e1fc4accd09b59f57df4937c50ec255fd4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf6032301599d7d7a1e3113721d5ebaa76f3849e6a32d5c9ce80c173f99a7166 [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" "cf6032301599d7d7a1e3113721d5ebaa76f3849e6a32d5c9ce80c173f99a7166", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling integer-encoding v1.1.5 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling mio-named-pipes v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling thrift v0.0.4 [INFO] [stderr] Compiling miow v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling thrift v0.13.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling thrift-async v0.2.1 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling parity-tokio-ipc v0.7.0 [INFO] [stderr] Compiling osquery-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parity_tokio_ipc::Endpoint` [INFO] [stdout] --> src/manager/async_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parity_tokio_ipc::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift_async` [INFO] [stdout] --> src/manager/async_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thrift_async; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ManagerPluginRegistry`, `Plugin` [INFO] [stdout] --> src/manager/server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{ManagerPluginRegistry, Plugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen::osquery`, `manager::client::ExtensionManagerHandler` [INFO] [stdout] --> src/manager/server.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{gen::osquery, manager::client::ExtensionManagerHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/manager/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift::server::TProcessor` [INFO] [stdout] --> src/manager/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thrift::server::TProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/manager/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/manager/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:790:19 [INFO] [stdout] | [INFO] [stdout] 790 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:827:19 [INFO] [stdout] | [INFO] [stdout] 827 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:864:19 [INFO] [stdout] | [INFO] [stdout] 864 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1587:19 [INFO] [stdout] | [INFO] [stdout] 1587 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1624:19 [INFO] [stdout] | [INFO] [stdout] 1624 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1661:19 [INFO] [stdout] | [INFO] [stdout] 1661 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1698:19 [INFO] [stdout] | [INFO] [stdout] 1698 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | fn from(err: thrift::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/manager/async_server.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/plugin/table/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn generate(&self, context: Option) -> osquery::ExtensionResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_out_protocol` [INFO] [stdout] --> src/gen/osquery.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_from_in_protocol` [INFO] [stdout] --> src/gen/osquery.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(value: F1, default_value: F2, type_: F3) -> InternalOptionInfo where F1: Into>, F2: Into>, F3: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new(name: F1, version: F2, sdk_version: F3, min_sdk_version: F4) -> InternalExtensionInfo where F1: Into>, F2: Into>, F3: Into>, F4: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:634:10 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:747:10 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn new(handler: H) -> ExtensionSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1254:10 [INFO] [stdout] | [INFO] [stdout] 1254 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionManagerSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1452:10 [INFO] [stdout] | [INFO] [stdout] 1452 | pub fn new(handler: H) -> ExtensionManagerSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncManagerServer` [INFO] [stdout] --> src/manager/async_server.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AsyncManagerServer

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncProcessor` [INFO] [stdout] --> src/manager/async_server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct AsyncProcessor [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Error` [INFO] [stdout] --> src/manager/async_server.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/manager/async_server.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen` [INFO] [stdout] --> src/manager/async_server.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_channel` [INFO] [stdout] --> src/manager/client.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_with_channel(channel: C) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(registry: PluginRegistry) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/manager/comms/socket.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn connect>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Listener` [INFO] [stdout] --> src/manager/comms/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Listener = std::os::unix::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ExtensionManagerServer` [INFO] [stdout] --> src/manager/server.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExtensionManagerServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "cf6032301599d7d7a1e3113721d5ebaa76f3849e6a32d5c9ce80c173f99a7166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6032301599d7d7a1e3113721d5ebaa76f3849e6a32d5c9ce80c173f99a7166", kill_on_drop: false }` [INFO] [stdout] cf6032301599d7d7a1e3113721d5ebaa76f3849e6a32d5c9ce80c173f99a7166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 953b36c622fab571cc34f9e667fa19b839c52f6214454bcbbd7947f1b629bca5 [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" "953b36c622fab571cc34f9e667fa19b839c52f6214454bcbbd7947f1b629bca5", kill_on_drop: false }` [INFO] [stderr] Compiling osquery-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parity_tokio_ipc::Endpoint` [INFO] [stdout] --> src/manager/async_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parity_tokio_ipc::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift_async` [INFO] [stdout] --> src/manager/async_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thrift_async; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ManagerPluginRegistry`, `Plugin` [INFO] [stdout] --> src/manager/server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{ManagerPluginRegistry, Plugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen::osquery`, `manager::client::ExtensionManagerHandler` [INFO] [stdout] --> src/manager/server.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{gen::osquery, manager::client::ExtensionManagerHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/manager/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift::server::TProcessor` [INFO] [stdout] --> src/manager/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thrift::server::TProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/manager/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/manager/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:790:19 [INFO] [stdout] | [INFO] [stdout] 790 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:827:19 [INFO] [stdout] | [INFO] [stdout] 827 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:864:19 [INFO] [stdout] | [INFO] [stdout] 864 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1587:19 [INFO] [stdout] | [INFO] [stdout] 1587 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1624:19 [INFO] [stdout] | [INFO] [stdout] 1624 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1661:19 [INFO] [stdout] | [INFO] [stdout] 1661 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1698:19 [INFO] [stdout] | [INFO] [stdout] 1698 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | fn from(err: thrift::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/manager/async_server.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/plugin/table/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn generate(&self, context: Option) -> osquery::ExtensionResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_out_protocol` [INFO] [stdout] --> src/gen/osquery.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_from_in_protocol` [INFO] [stdout] --> src/gen/osquery.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(value: F1, default_value: F2, type_: F3) -> InternalOptionInfo where F1: Into>, F2: Into>, F3: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new(name: F1, version: F2, sdk_version: F3, min_sdk_version: F4) -> InternalExtensionInfo where F1: Into>, F2: Into>, F3: Into>, F4: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:634:10 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:747:10 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn new(handler: H) -> ExtensionSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1254:10 [INFO] [stdout] | [INFO] [stdout] 1254 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionManagerSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1452:10 [INFO] [stdout] | [INFO] [stdout] 1452 | pub fn new(handler: H) -> ExtensionManagerSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncManagerServer` [INFO] [stdout] --> src/manager/async_server.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AsyncManagerServer

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncProcessor` [INFO] [stdout] --> src/manager/async_server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct AsyncProcessor [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Error` [INFO] [stdout] --> src/manager/async_server.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/manager/async_server.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen` [INFO] [stdout] --> src/manager/async_server.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_channel` [INFO] [stdout] --> src/manager/client.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_with_channel(channel: C) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(registry: PluginRegistry) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/manager/comms/socket.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn connect>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Listener` [INFO] [stdout] --> src/manager/comms/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Listener = std::os::unix::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ExtensionManagerServer` [INFO] [stdout] --> src/manager/server.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExtensionManagerServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `table` [INFO] [stdout] --> examples/table.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | // } [INFO] [stdout] | ^ consider adding a `main` function to `examples/table.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `osquery-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `parity_tokio_ipc::Endpoint` [INFO] [stdout] --> src/manager/async_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parity_tokio_ipc::Endpoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift_async` [INFO] [stdout] --> src/manager/async_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use thrift_async; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ManagerPluginRegistry`, `Plugin` [INFO] [stdout] --> src/manager/server.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{ManagerPluginRegistry, Plugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen::osquery`, `manager::client::ExtensionManagerHandler` [INFO] [stdout] --> src/manager/server.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{gen::osquery, manager::client::ExtensionManagerHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/manager/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thrift::server::TProcessor` [INFO] [stdout] --> src/manager/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thrift::server::TProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/manager/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/manager/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:790:19 [INFO] [stdout] | [INFO] [stdout] 790 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:827:19 [INFO] [stdout] | [INFO] [stdout] 827 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:864:19 [INFO] [stdout] | [INFO] [stdout] 864 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1587:19 [INFO] [stdout] | [INFO] [stdout] 1587 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1624:19 [INFO] [stdout] | [INFO] [stdout] 1624 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1661:19 [INFO] [stdout] | [INFO] [stdout] 1661 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/gen/osquery.rs:1698:19 [INFO] [stdout] | [INFO] [stdout] 1698 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/error.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | fn from(err: thrift::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/manager/async_server.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/plugin/table/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn generate(&self, context: Option) -> osquery::ExtensionResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_out_protocol` [INFO] [stdout] --> src/gen/osquery.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_from_in_protocol` [INFO] [stdout] --> src/gen/osquery.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> thrift::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(value: F1, default_value: F2, type_: F3) -> InternalOptionInfo where F1: Into>, F2: Into>, F3: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new(name: F1, version: F2, sdk_version: F3, min_sdk_version: F4) -> InternalExtensionInfo where F1: Into>, F2: Into>, F3: Into>, F4: Into> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:634:10 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:747:10 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn new(handler: H) -> ExtensionSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1254:10 [INFO] [stdout] | [INFO] [stdout] 1254 | pub fn new(input_protocol: IP, output_protocol: OP) -> ExtensionManagerSyncClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gen/osquery.rs:1452:10 [INFO] [stdout] | [INFO] [stdout] 1452 | pub fn new(handler: H) -> ExtensionManagerSyncProcessor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncManagerServer` [INFO] [stdout] --> src/manager/async_server.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AsyncManagerServer

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AsyncProcessor` [INFO] [stdout] --> src/manager/async_server.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct AsyncProcessor [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Error` [INFO] [stdout] --> src/manager/async_server.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/manager/async_server.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `listen` [INFO] [stdout] --> src/manager/async_server.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn listen(&mut self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_channel` [INFO] [stdout] --> src/manager/client.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_with_channel(channel: C) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(registry: PluginRegistry) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/manager/comms/socket.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn connect>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Listener` [INFO] [stdout] --> src/manager/comms/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub type Listener = std::os::unix::net::UnixListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ExtensionManagerServer` [INFO] [stdout] --> src/manager/server.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ExtensionManagerServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/manager/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "953b36c622fab571cc34f9e667fa19b839c52f6214454bcbbd7947f1b629bca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953b36c622fab571cc34f9e667fa19b839c52f6214454bcbbd7947f1b629bca5", kill_on_drop: false }` [INFO] [stdout] 953b36c622fab571cc34f9e667fa19b839c52f6214454bcbbd7947f1b629bca5