[INFO] fetching crate pipedconsole 0.3.2... [INFO] checking pipedconsole-0.3.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pipedconsole 0.3.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate pipedconsole 0.3.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pipedconsole 0.3.2 [INFO] finished tweaking crates.io crate pipedconsole 0.3.2 [INFO] tweaked toml for crates.io crate pipedconsole 0.3.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate pipedconsole 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2558592138e7c392b386b01af84eed80a6b05ea00f016c657b91c29242c67838 [INFO] running `Command { std: "docker" "start" "-a" "2558592138e7c392b386b01af84eed80a6b05ea00f016c657b91c29242c67838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2558592138e7c392b386b01af84eed80a6b05ea00f016c657b91c29242c67838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2558592138e7c392b386b01af84eed80a6b05ea00f016c657b91c29242c67838", kill_on_drop: false }` [INFO] [stdout] 2558592138e7c392b386b01af84eed80a6b05ea00f016c657b91c29242c67838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88fe718c5cd9c1442eecd6e9f465f70d0047b7d0c6a0e55b8d9d5876362a97e0 [INFO] running `Command { std: "docker" "start" "-a" "88fe718c5cd9c1442eecd6e9f465f70d0047b7d0c6a0e55b8d9d5876362a97e0", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling pipedconsole v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: pipedconsole@0.3.2: Tip: Under normal conditions, the `console_worker` executable wich is build, can be auto-detected, this may not be the case for release builds or if you want to 'ship' your executable without the normal cargo structure. [INFO] [stderr] warning: pipedconsole@0.3.2: during the compilation of the console_worker executable cargo has thrown an error: Compiling winapi v0.3.9 Compiling pipedconsole v0.3.2 (/opt/rustwide/workdir) error[E0422]: cannot find struct, variant or union type `Console` in this scope --> src/console/new.rs:72:9 | 72 | Console { pid: 0, pipe: 0 as *mut c_void } | ^^^^^^^ not found in this scope | help: consider importing this struct through its public re-export | 2 + use crate::Console; | warning: unused import: `CString` --> src/com/send.rs:5:16 | 5 | use std::ffi::{CString, c_void}; | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `CString` and `ptr::null_mut` --> src/console/new.rs:3:5 | 3 | ptr::null_mut, | ^^^^^^^^^^^^^ 4 | ffi::{CString, c_void} | ^^^^^^^ warning: unused imports: `ErrorKind` and `error::InternalError` --> src/console/new.rs:19:5 | 19 | error::InternalError, | ^^^^^^^^^^^^^^^^^^^^ 20 | ErrorKind | ^^^^^^^^^ warning: unused variable: `pipe_handle` --> src/com/send.rs:9:27 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `message` --> src/com/send.rs:9:53 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/send.rs:14:28 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `code` --> src/com/send.rs:14:54 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` warning: unused variable: `pipe_handle` --> src/com/send.rs:19:30 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `message` --> src/com/send.rs:19:56 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/receive.rs:9:30 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `buffer` --> src/com/receive.rs:9:56 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` warning: unused variable: `bytes_to_read` --> src/com/receive.rs:9:73 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_read` For more information about this error, try `rustc --explain E0422`. warning: `pipedconsole` (lib) generated 12 warnings error: could not compile `pipedconsole` (lib) due to 1 previous error; 12 warnings emitted [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Console` in this scope [INFO] [stdout] --> src/console/new.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Console { pid: 0, pipe: 0 as *mut c_void } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/com/send.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{CString, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString` and `ptr::null_mut` [INFO] [stdout] --> src/console/new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ptr::null_mut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | ffi::{CString, c_void} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `error::InternalError` [INFO] [stdout] --> src/console/new.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | error::InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ErrorKind [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Console` in this scope [INFO] [stdout] --> src/console/new.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Console { pid: 0, pipe: 0 as *mut c_void } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/com/send.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/com/send.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/com/send.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/receive.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/com/receive.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_to_read` [INFO] [stdout] --> src/com/receive.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/com/send.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{CString, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString` and `ptr::null_mut` [INFO] [stdout] --> src/console/new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ptr::null_mut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | ffi::{CString, c_void} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `error::InternalError` [INFO] [stdout] --> src/console/new.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | error::InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ErrorKind [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: pipedconsole@0.3.2: Tip: Under normal conditions, the `console_worker` executable wich is build, can be auto-detected, this may not be the case for release builds or if you want to 'ship' your executable without the normal cargo structure. [INFO] [stderr] warning: pipedconsole@0.3.2: during the compilation of the console_worker executable cargo has thrown an error: Compiling winapi v0.3.9 Compiling pipedconsole v0.3.2 (/opt/rustwide/workdir) error[E0422]: cannot find struct, variant or union type `Console` in this scope --> src/console/new.rs:72:9 | 72 | Console { pid: 0, pipe: 0 as *mut c_void } | ^^^^^^^ not found in this scope | help: consider importing this struct through its public re-export | 2 + use crate::Console; | warning: unused import: `CString` --> src/com/send.rs:5:16 | 5 | use std::ffi::{CString, c_void}; | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `CString` and `ptr::null_mut` --> src/console/new.rs:3:5 | 3 | ptr::null_mut, | ^^^^^^^^^^^^^ 4 | ffi::{CString, c_void} | ^^^^^^^ warning: unused imports: `ErrorKind` and `error::InternalError` --> src/console/new.rs:19:5 | 19 | error::InternalError, | ^^^^^^^^^^^^^^^^^^^^ 20 | ErrorKind | ^^^^^^^^^ warning: unused variable: `pipe_handle` --> src/com/send.rs:9:27 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `message` --> src/com/send.rs:9:53 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/send.rs:14:28 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `code` --> src/com/send.rs:14:54 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` warning: unused variable: `pipe_handle` --> src/com/send.rs:19:30 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `message` --> src/com/send.rs:19:56 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/receive.rs:9:30 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `buffer` --> src/com/receive.rs:9:56 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` warning: unused variable: `bytes_to_read` --> src/com/receive.rs:9:73 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_read` For more information about this error, try `rustc --explain E0422`. warning: `pipedconsole` (lib) generated 12 warnings error: could not compile `pipedconsole` (lib) due to 1 previous error; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `pipedconsole` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/com/send.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/com/send.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/send.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/com/send.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_handle` [INFO] [stdout] --> src/com/receive.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/com/receive.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_to_read` [INFO] [stdout] --> src/com/receive.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: pipedconsole@0.3.2: Tip: Under normal conditions, the `console_worker` executable wich is build, can be auto-detected, this may not be the case for release builds or if you want to 'ship' your executable without the normal cargo structure. [INFO] [stderr] warning: pipedconsole@0.3.2: during the compilation of the console_worker executable cargo has thrown an error: Compiling winapi v0.3.9 Compiling pipedconsole v0.3.2 (/opt/rustwide/workdir) error[E0422]: cannot find struct, variant or union type `Console` in this scope --> src/console/new.rs:72:9 | 72 | Console { pid: 0, pipe: 0 as *mut c_void } | ^^^^^^^ not found in this scope | help: consider importing this struct through its public re-export | 2 + use crate::Console; | warning: unused import: `CString` --> src/com/send.rs:5:16 | 5 | use std::ffi::{CString, c_void}; | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused imports: `CString` and `ptr::null_mut` --> src/console/new.rs:3:5 | 3 | ptr::null_mut, | ^^^^^^^^^^^^^ 4 | ffi::{CString, c_void} | ^^^^^^^ warning: unused imports: `ErrorKind` and `error::InternalError` --> src/console/new.rs:19:5 | 19 | error::InternalError, | ^^^^^^^^^^^^^^^^^^^^ 20 | ErrorKind | ^^^^^^^^^ warning: unused variable: `pipe_handle` --> src/com/send.rs:9:27 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `message` --> src/com/send.rs:9:53 | 9 | pub(crate) unsafe fn send(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/send.rs:14:28 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `code` --> src/com/send.rs:14:54 | 14 | pub(crate) unsafe fn sendc(pipe_handle: *mut c_void, code: i8) -> Result { | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` warning: unused variable: `pipe_handle` --> src/com/send.rs:19:30 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `message` --> src/com/send.rs:19:56 | 19 | pub(crate) unsafe fn sendstr(pipe_handle: *mut c_void, message: String) -> Result { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` warning: unused variable: `pipe_handle` --> src/com/receive.rs:9:30 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_handle` warning: unused variable: `buffer` --> src/com/receive.rs:9:56 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` warning: unused variable: `bytes_to_read` --> src/com/receive.rs:9:73 | 9 | pub(crate) unsafe fn receive(pipe_handle: *mut c_void, buffer: *mut i8, bytes_to_read: u32) -> Result { | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_read` For more information about this error, try `rustc --explain E0422`. warning: `pipedconsole` (lib) generated 12 warnings error: could not compile `pipedconsole` (lib) due to 1 previous error; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `pipedconsole` (lib) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88fe718c5cd9c1442eecd6e9f465f70d0047b7d0c6a0e55b8d9d5876362a97e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fe718c5cd9c1442eecd6e9f465f70d0047b7d0c6a0e55b8d9d5876362a97e0", kill_on_drop: false }` [INFO] [stdout] 88fe718c5cd9c1442eecd6e9f465f70d0047b7d0c6a0e55b8d9d5876362a97e0