[INFO] crate ssh 0.1.4 is already in cache [INFO] testing ssh-0.1.4 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate ssh 0.1.4 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ssh 0.1.4 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ssh 0.1.4 [INFO] finished tweaking crates.io crate ssh 0.1.4 [INFO] tweaked toml for crates.io crate ssh 0.1.4 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edd868865e3bc69d9db8d1001a51629d92bced032bae6f0ba5ce8b3fa6a17472 [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" "edd868865e3bc69d9db8d1001a51629d92bced032bae6f0ba5ce8b3fa6a17472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd868865e3bc69d9db8d1001a51629d92bced032bae6f0ba5ce8b3fa6a17472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd868865e3bc69d9db8d1001a51629d92bced032bae6f0ba5ce8b3fa6a17472", kill_on_drop: false }` [INFO] [stdout] edd868865e3bc69d9db8d1001a51629d92bced032bae6f0ba5ce8b3fa6a17472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71d1258067580c085e96a8b384917565b9ad30b1c7266c36dedeed145e017ede [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" "71d1258067580c085e96a8b384917565b9ad30b1c7266c36dedeed145e017ede", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ssh v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PORT_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | PORT_STR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PortStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SSH_DIR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | SSH_DIR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SshDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | ADD_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TIMEOUT_USEC` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | TIMEOUT_USEC, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TimeoutUsec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | LOG_VERBOSITY, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | LOG_VERBOSITY_STR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosityStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | CIPHERS_C_S, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | CIPHERS_S_C, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | COMPRESSION_C_S, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | COMPRESSION_S_C, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_LEVEL` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | COMPRESSION_LEVEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KEY_EXCHANGE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | KEY_EXCHANGE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_SERVER_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | GSSAPI_SERVER_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiServerIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_CLIENT_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | GSSAPI_CLIENT_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiClientIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_DELEGATE_CREDENTIALS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | GSSAPI_DELEGATE_CREDENTIALS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiDelegateCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | use self::libc::{c_int,c_uint,c_void,c_char,size_t,uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:570:59 [INFO] [stdout] | [INFO] [stdout] 570 | fn ssh_scp_push_file64(s:*mut Scp_,b:*const c_char,st:uint64_t,mode:c_int)->c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:574:49 [INFO] [stdout] | [INFO] [stdout] 574 | fn ssh_scp_request_get_size64(s:*mut Scp_)->uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:652:79 [INFO] [stdout] | [INFO] [stdout] 652 | let e=ssh_scp_push_file64(self.scp,p.as_ptr() as *const _,size as uint64_t,mode as c_int); [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/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | Error::IO(ref e)=>e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | use std::io::{Read,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "71d1258067580c085e96a8b384917565b9ad30b1c7266c36dedeed145e017ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d1258067580c085e96a8b384917565b9ad30b1c7266c36dedeed145e017ede", kill_on_drop: false }` [INFO] [stdout] 71d1258067580c085e96a8b384917565b9ad30b1c7266c36dedeed145e017ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55bf42d3a8ec370d745098f13018708e1d6b23a8016e78acbb3c28321d3114de [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" "55bf42d3a8ec370d745098f13018708e1d6b23a8016e78acbb3c28321d3114de", kill_on_drop: false }` [INFO] [stderr] Compiling ssh v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PORT_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | PORT_STR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PortStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SSH_DIR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | SSH_DIR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SshDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | ADD_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TIMEOUT_USEC` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | TIMEOUT_USEC, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TimeoutUsec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | LOG_VERBOSITY, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | LOG_VERBOSITY_STR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosityStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | CIPHERS_C_S, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | CIPHERS_S_C, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | COMPRESSION_C_S, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | COMPRESSION_S_C, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_LEVEL` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | COMPRESSION_LEVEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KEY_EXCHANGE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | KEY_EXCHANGE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_SERVER_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | GSSAPI_SERVER_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiServerIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_CLIENT_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | GSSAPI_CLIENT_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiClientIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_DELEGATE_CREDENTIALS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | GSSAPI_DELEGATE_CREDENTIALS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiDelegateCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | use self::libc::{c_int,c_uint,c_void,c_char,size_t,uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:570:59 [INFO] [stdout] | [INFO] [stdout] 570 | fn ssh_scp_push_file64(s:*mut Scp_,b:*const c_char,st:uint64_t,mode:c_int)->c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:574:49 [INFO] [stdout] | [INFO] [stdout] 574 | fn ssh_scp_request_get_size64(s:*mut Scp_)->uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:652:79 [INFO] [stdout] | [INFO] [stdout] 652 | let e=ssh_scp_push_file64(self.scp,p.as_ptr() as *const _,size as uint64_t,mode as c_int); [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/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | Error::IO(ref e)=>e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | use std::io::{Read,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:595:1 [INFO] [stdout] | [INFO] [stdout] 595 | / bitflags!{ [INFO] [stdout] 596 | | flags Mode:c_int { [INFO] [stdout] 597 | | const WRITE = 0x0, [INFO] [stdout] 598 | | const READ = 0x1, [INFO] [stdout] 599 | | const RECURSIVE = 0x10 [INFO] [stdout] 600 | | } [INFO] [stdout] 601 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PORT_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | PORT_STR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PortStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SSH_DIR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | SSH_DIR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SshDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | ADD_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TIMEOUT_USEC` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | TIMEOUT_USEC, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TimeoutUsec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | LOG_VERBOSITY, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_VERBOSITY_STR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | LOG_VERBOSITY_STR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LogVerbosityStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | CIPHERS_C_S, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CIPHERS_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | CIPHERS_S_C, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CiphersSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_C_S` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | COMPRESSION_C_S, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionCS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_S_C` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | COMPRESSION_S_C, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionSC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COMPRESSION_LEVEL` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | COMPRESSION_LEVEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CompressionLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KEY_EXCHANGE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | KEY_EXCHANGE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_SERVER_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | GSSAPI_SERVER_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiServerIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_CLIENT_IDENTITY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | GSSAPI_CLIENT_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiClientIdentity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GSSAPI_DELEGATE_CREDENTIALS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | GSSAPI_DELEGATE_CREDENTIALS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GssapiDelegateCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | use self::libc::{c_int,c_uint,c_void,c_char,size_t,uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:570:59 [INFO] [stdout] | [INFO] [stdout] 570 | fn ssh_scp_push_file64(s:*mut Scp_,b:*const c_char,st:uint64_t,mode:c_int)->c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:574:49 [INFO] [stdout] | [INFO] [stdout] 574 | fn ssh_scp_request_get_size64(s:*mut Scp_)->uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint64_t': Use u64 instead. [INFO] [stdout] --> src/lib.rs:652:79 [INFO] [stdout] | [INFO] [stdout] 652 | let e=ssh_scp_push_file64(self.scp,p.as_ptr() as *const _,size as uint64_t,mode as c_int); [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/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | Error::IO(ref e)=>e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | use std::io::{Read,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.ssh.5n5g3zg6-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.ssh.5n5g3zg6-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.ssh.5n5g3zg6-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.ssh.5n5g3zg6-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.ssh.5n5g3zg6-cgu.4.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336" "/opt/rustwide/target/debug/deps/ssh-0fca53494d3f7336.1xbc092xx2ebuli6.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lssh" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6805c615af620a51.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-975e251edec7895a.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fa89c22811cbba70.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-8e79a065fef863f3.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a68d66da01a6ed2b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-97c3e1935dfdefc9.rlib" "/opt/rustwide/target/debug/deps/liblog-bb9f71d1569cdaf1.rlib" "/opt/rustwide/target/debug/deps/liblog-93951ff8e53c2b76.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b00c34326580381c.rlib" "/opt/rustwide/target/debug/deps/liblibc-e834449672905d13.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lssh [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssh`. [INFO] [stdout] error: aborting due to previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "55bf42d3a8ec370d745098f13018708e1d6b23a8016e78acbb3c28321d3114de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55bf42d3a8ec370d745098f13018708e1d6b23a8016e78acbb3c28321d3114de", kill_on_drop: false }` [INFO] [stdout] 55bf42d3a8ec370d745098f13018708e1d6b23a8016e78acbb3c28321d3114de