[INFO] cloning 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" "clone" "--bare" "https://github.com/lberezy/osquery-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flberezy%2Fosquery-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flberezy%2Fosquery-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d125a4c9ae773c300c8ea1dc07fb6fc8a86eb3f8 [INFO] checking lberezy/osquery-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flberezy%2Fosquery-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lberezy/osquery-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8d0ed9777548c77ce1ce90c86599d4f4c8d96493496cb8898892d7a446aa972 [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" "a8d0ed9777548c77ce1ce90c86599d4f4c8d96493496cb8898892d7a446aa972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8d0ed9777548c77ce1ce90c86599d4f4c8d96493496cb8898892d7a446aa972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d0ed9777548c77ce1ce90c86599d4f4c8d96493496cb8898892d7a446aa972", kill_on_drop: false }` [INFO] [stdout] a8d0ed9777548c77ce1ce90c86599d4f4c8d96493496cb8898892d7a446aa972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a0cf56e252c9272cc29767d968cbd506b8d884913cf50803466cc350395bd5c [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" "4a0cf56e252c9272cc29767d968cbd506b8d884913cf50803466cc350395bd5c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking integer-encoding v1.1.5 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking mio-named-pipes v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking thrift v0.0.4 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking thrift v0.13.0 [INFO] [stderr] Checking miow v0.3.5 [INFO] [stderr] Checking thrift-async v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking parity-tokio-ipc v0.7.0 [INFO] [stderr] Checking 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: 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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 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 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 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] 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 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 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] running `Command { std: "docker" "inspect" "4a0cf56e252c9272cc29767d968cbd506b8d884913cf50803466cc350395bd5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0cf56e252c9272cc29767d968cbd506b8d884913cf50803466cc350395bd5c", kill_on_drop: false }` [INFO] [stdout] 4a0cf56e252c9272cc29767d968cbd506b8d884913cf50803466cc350395bd5c