[INFO] cloning repository https://github.com/stavenko/cnc-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stavenko/cnc-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcnc-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcnc-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07106b1b0f6e20b0689bc031436a2e55fad305a8 [INFO] testing stavenko/cnc-server against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstavenko%2Fcnc-server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stavenko/cnc-server on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stavenko/cnc-server [INFO] finished tweaking git repo https://github.com/stavenko/cnc-server [INFO] tweaked toml for git repo https://github.com/stavenko/cnc-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stavenko/cnc-server 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64ct v1.5.1 [INFO] [stderr] Downloaded tungstenite v0.10.1 [INFO] [stderr] Downloaded thrussh-keys v0.21.0 [INFO] [stderr] Downloaded bcrypt-pbkdf v0.6.2 [INFO] [stderr] Downloaded blowfish v0.8.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.10.1 [INFO] [stderr] Downloaded ordered-float v2.7.0 [INFO] [stderr] Downloaded routerify v1.1.4 [INFO] [stderr] Downloaded thrussh v0.33.5 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded serde_json v1.0.65 [INFO] [stderr] Downloaded routerify v2.2.0 [INFO] [stderr] Downloaded nalgebra v0.28.0 [INFO] [stderr] Downloaded routerify-websocket v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7b88fb44d87e56971b2a8176e29ece7019a8da1ac6d9455e962dc73fdd2fbfb [INFO] running `Command { std: "docker" "start" "-a" "b7b88fb44d87e56971b2a8176e29ece7019a8da1ac6d9455e962dc73fdd2fbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7b88fb44d87e56971b2a8176e29ece7019a8da1ac6d9455e962dc73fdd2fbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b88fb44d87e56971b2a8176e29ece7019a8da1ac6d9455e962dc73fdd2fbfb", kill_on_drop: false }` [INFO] [stdout] b7b88fb44d87e56971b2a8176e29ece7019a8da1ac6d9455e962dc73fdd2fbfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 513414d90d72a5251be066d43156cec00edde628c641584ff83006520ffa4619 [INFO] running `Command { std: "docker" "start" "-a" "513414d90d72a5251be066d43156cec00edde628c641584ff83006520ffa4619", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling serde_json v1.0.65 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling bcrypt-pbkdf v0.6.2 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cryptovec v0.6.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling nalgebra v0.28.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling routerify v1.1.4 [INFO] [stderr] Compiling routerify-websocket v1.0.0 [INFO] [stderr] Compiling routerify v2.2.0 [INFO] [stderr] Compiling thrussh-libsodium v0.2.1 [INFO] [stderr] Compiling thrussh-keys v0.21.0 [INFO] [stderr] Compiling thrussh v0.33.5 [INFO] [stderr] Compiling cnc-rust-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/endpoints/websocketerror.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/endpoints/websocketerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelId` [INFO] [stdout] --> src/cnc/state.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use thrussh::{ChannelId, client}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `key` and `load_secret_key` [INFO] [stdout] --> src/cnc/state.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use thrussh_keys::{key, load_secret_key}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Output` [INFO] [stdout] --> src/cnc/protocol/recv.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{pin::Pin, process::Output, task::{Context, Poll}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/cnc/protocol/recv.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{SinkExt, channel::{mpsc::UnboundedSender, oneshot::{self, Sender}}, future::{ready, Ready}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/cnc/protocol/recv.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temp_ngc_files` and `ssh_user` are never read [INFO] [stdout] --> src/options.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InputOptions { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub temp_ngc_files: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub ssh_user: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoordinationSystem` is never constructed [INFO] [stdout] --> src/cnc/state.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CoordinationSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_homed`, `current_position`, `limit`, and `name` are never read [INFO] [stdout] --> src/cnc/state.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Axis { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | is_homed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | current_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | limit: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `speed`, and `limit` are never read [INFO] [stdout] --> src/cnc/state.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 43 | struct Spindle { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | state: SpindleState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | speed: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | limit: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Milling` is never constructed [INFO] [stdout] --> src/cnc/state.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 66 | enum CncMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 67 | Preparation, [INFO] [stdout] 68 | Milling, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `estop`, `power`, and `connected` are never read [INFO] [stdout] --> src/cnc/state.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 71 | struct Machine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 72 | estop: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | power: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | connected: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `axes`, `spindle`, `program_loaded`, `machine`, and `update_state_channel` are never read [INFO] [stdout] --> src/cnc/state.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct CncState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 88 | config: InputOptions, [INFO] [stdout] 89 | mode: CncMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 90 | axes: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | spindle: Spindle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | program_loaded: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 93 | machine: Machine, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | update_state_channel: UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/endpoints/websocketerror.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Display)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `_derive_more_DisplayAs` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_derive_more_DisplayAs_impl` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `derive_more` crate, try updating your dependency with `cargo update -p derive_more` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.28.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "513414d90d72a5251be066d43156cec00edde628c641584ff83006520ffa4619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "513414d90d72a5251be066d43156cec00edde628c641584ff83006520ffa4619", kill_on_drop: false }` [INFO] [stdout] 513414d90d72a5251be066d43156cec00edde628c641584ff83006520ffa4619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19bdb4a80666c845f87af2c77ec70b245cc4bb7a876d4917ac1e84589e5c86ab [INFO] running `Command { std: "docker" "start" "-a" "19bdb4a80666c845f87af2c77ec70b245cc4bb7a876d4917ac1e84589e5c86ab", kill_on_drop: false }` [INFO] [stderr] Compiling cnc-rust-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/endpoints/websocketerror.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/endpoints/websocketerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelId` [INFO] [stdout] --> src/cnc/state.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use thrussh::{ChannelId, client}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `key` and `load_secret_key` [INFO] [stdout] --> src/cnc/state.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use thrussh_keys::{key, load_secret_key}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Output` [INFO] [stdout] --> src/cnc/protocol/recv.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{pin::Pin, process::Output, task::{Context, Poll}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/cnc/protocol/recv.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{SinkExt, channel::{mpsc::UnboundedSender, oneshot::{self, Sender}}, future::{ready, Ready}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/cnc/protocol/recv.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cnc/protocol/ssh.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temp_ngc_files` and `ssh_user` are never read [INFO] [stdout] --> src/options.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InputOptions { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub temp_ngc_files: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub ssh_user: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoordinationSystem` is never constructed [INFO] [stdout] --> src/cnc/state.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CoordinationSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_homed`, `current_position`, `limit`, and `name` are never read [INFO] [stdout] --> src/cnc/state.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Axis { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | is_homed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | current_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | limit: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `speed`, and `limit` are never read [INFO] [stdout] --> src/cnc/state.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 43 | struct Spindle { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | state: SpindleState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | speed: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | limit: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Milling` is never constructed [INFO] [stdout] --> src/cnc/state.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 66 | enum CncMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 67 | Preparation, [INFO] [stdout] 68 | Milling, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `estop`, `power`, and `connected` are never read [INFO] [stdout] --> src/cnc/state.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 71 | struct Machine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 72 | estop: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | power: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | connected: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `axes`, `spindle`, `program_loaded`, `machine`, and `update_state_channel` are never read [INFO] [stdout] --> src/cnc/state.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct CncState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 88 | config: InputOptions, [INFO] [stdout] 89 | mode: CncMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 90 | axes: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 91 | spindle: Spindle, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | program_loaded: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 93 | machine: Machine, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | update_state_channel: UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/endpoints/websocketerror.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Display)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `_derive_more_DisplayAs` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_derive_more_DisplayAs_impl` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `derive_more` crate, try updating your dependency with `cargo update -p derive_more` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.28.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "19bdb4a80666c845f87af2c77ec70b245cc4bb7a876d4917ac1e84589e5c86ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bdb4a80666c845f87af2c77ec70b245cc4bb7a876d4917ac1e84589e5c86ab", kill_on_drop: false }` [INFO] [stdout] 19bdb4a80666c845f87af2c77ec70b245cc4bb7a876d4917ac1e84589e5c86ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73bcff8cbbd23c98b377930bc63b023c3e77d1f021187077e94174c69cc0bc75 [INFO] running `Command { std: "docker" "start" "-a" "73bcff8cbbd23c98b377930bc63b023c3e77d1f021187077e94174c69cc0bc75", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `json` [INFO] [stderr] --> src/endpoints/websocketerror.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(feature = "json")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `json` [INFO] [stderr] --> src/endpoints/websocketerror.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg(feature = "json")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `ChannelId` [INFO] [stderr] --> src/cnc/state.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use thrussh::{ChannelId, client}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `key` and `load_secret_key` [INFO] [stderr] --> src/cnc/state.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | use thrussh_keys::{key, load_secret_key}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `process::Output` [INFO] [stderr] --> src/cnc/protocol/recv.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{pin::Pin, process::Output, task::{Context, Poll}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Future` [INFO] [stderr] --> src/cnc/protocol/recv.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:1:67 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::{SinkExt, channel::{mpsc::UnboundedSender, oneshot::{self, Sender}}, future::{ready, Ready}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/cnc/protocol/recv.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{Future, FutureExt, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ext` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:74:46 [INFO] [stderr] | [INFO] [stderr] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:74:56 [INFO] [stderr] | [INFO] [stderr] 74 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ext` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:123:46 [INFO] [stderr] | [INFO] [stderr] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/cnc/protocol/ssh.rs:123:56 [INFO] [stderr] | [INFO] [stderr] 123 | fn extended_data(self, channel: ChannelId, ext: u32, data: &[u8], session: client::Session) -> Self::FutureUnit { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: fields `temp_ngc_files` and `ssh_user` are never read [INFO] [stderr] --> src/options.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct InputOptions { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub temp_ngc_files: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub ssh_user: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InputOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `CoordinationSystem` is never constructed [INFO] [stderr] --> src/cnc/state.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | struct CoordinationSystem { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `is_homed`, `current_position`, `limit`, and `name` are never read [INFO] [stderr] --> src/cnc/state.rs:30:3 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Axis { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 30 | is_homed: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 31 | current_position: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 32 | limit: Vector2, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 33 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `state`, `speed`, and `limit` are never read [INFO] [stderr] --> src/cnc/state.rs:44:3 [INFO] [stderr] | [INFO] [stderr] 43 | struct Spindle { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 44 | state: SpindleState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 45 | speed: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 46 | limit: Vector2, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Milling` is never constructed [INFO] [stderr] --> src/cnc/state.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 66 | enum CncMode { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 67 | Preparation, [INFO] [stderr] 68 | Milling, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `estop`, `power`, and `connected` are never read [INFO] [stderr] --> src/cnc/state.rs:72:3 [INFO] [stderr] | [INFO] [stderr] 71 | struct Machine { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 72 | estop: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 73 | power: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 74 | connected: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mode`, `axes`, `spindle`, `program_loaded`, `machine`, and `update_state_channel` are never read [INFO] [stderr] --> src/cnc/state.rs:89:3 [INFO] [stderr] | [INFO] [stderr] 87 | pub struct CncState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 88 | config: InputOptions, [INFO] [stderr] 89 | mode: CncMode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 90 | axes: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 91 | spindle: Spindle, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 92 | program_loaded: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 93 | machine: Machine, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 94 | update_state_channel: UnboundedSender, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/endpoints/websocketerror.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Display)] [INFO] [stderr] | -^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `_derive_more_DisplayAs` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_derive_more_DisplayAs_impl` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Display` may come from an old version of the `derive_more` crate, try updating your dependency with `cargo update -p derive_more` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cnc-rust-server` (bin "cnc-rust-server" test) generated 22 warnings (run `cargo fix --bin "cnc-rust-server" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.28.0, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cnc_rust_server-e974e93e0358f8d0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73bcff8cbbd23c98b377930bc63b023c3e77d1f021187077e94174c69cc0bc75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73bcff8cbbd23c98b377930bc63b023c3e77d1f021187077e94174c69cc0bc75", kill_on_drop: false }` [INFO] [stdout] 73bcff8cbbd23c98b377930bc63b023c3e77d1f021187077e94174c69cc0bc75