[INFO] fetching crate pwnd 0.1.1... [INFO] building pwnd-0.1.1 against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] extracting crate pwnd 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pwnd 0.1.1 on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pwnd 0.1.1 [INFO] finished tweaking crates.io crate pwnd 0.1.1 [INFO] tweaked toml for crates.io crate pwnd 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c28721683da86329cac357ae86a68656534005f7ecfdaafa74c64c12dbc874e4 [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" "c28721683da86329cac357ae86a68656534005f7ecfdaafa74c64c12dbc874e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c28721683da86329cac357ae86a68656534005f7ecfdaafa74c64c12dbc874e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28721683da86329cac357ae86a68656534005f7ecfdaafa74c64c12dbc874e4", kill_on_drop: false }` [INFO] [stdout] c28721683da86329cac357ae86a68656534005f7ecfdaafa74c64c12dbc874e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c807ada43f547266b87ad91584438fda9d7edfcefcd4ccb40ef95784dff7b591 [INFO] running `Command { std: "docker" "start" "-a" "c807ada43f547266b87ad91584438fda9d7edfcefcd4ccb40ef95784dff7b591", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pwnd v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:24:128 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] 24 + pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] 38 + pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `TCP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UDP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `RAW` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `TCP` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UDP` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RAW` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_name` [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stderr` [INFO] [stdout] --> src/tubes/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | stderr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TCP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tcp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UDP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RAW` should have a snake case name [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.35s [INFO] running `Command { std: "docker" "inspect" "c807ada43f547266b87ad91584438fda9d7edfcefcd4ccb40ef95784dff7b591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c807ada43f547266b87ad91584438fda9d7edfcefcd4ccb40ef95784dff7b591", kill_on_drop: false }` [INFO] [stdout] c807ada43f547266b87ad91584438fda9d7edfcefcd4ccb40ef95784dff7b591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8df772c00bd457d818f0bf41c9bf05754d326eb98f7d73cdefa134c6d7684f4c [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" "8df772c00bd457d818f0bf41c9bf05754d326eb98f7d73cdefa134c6d7684f4c", kill_on_drop: false }` [INFO] [stderr] Compiling pwnd v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:24:128 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] 24 + pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] 38 + pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `TCP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UDP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `RAW` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `TCP` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UDP` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RAW` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_name` [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stderr` [INFO] [stdout] --> src/tubes/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | stderr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TCP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tcp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UDP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RAW` should have a snake case name [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:24:128 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] 24 + pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tubes.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] 38 + pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `TCP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `UDP` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `RAW` is named the same as one of the variants of the type `NetType` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `NetType::RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `TCP` [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_TCP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UDP` [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_UDP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RAW` [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_RAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_name` [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stderr` [INFO] [stdout] --> src/tubes/process.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | stderr: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tubes/process.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TCP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | TCP => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tcp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UDP` should have a snake case name [INFO] [stdout] --> src/tubes.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | UDP => todo!(), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `udp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RAW` should have a snake case name [INFO] [stdout] --> src/tubes.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | RAW => todo!() [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "8df772c00bd457d818f0bf41c9bf05754d326eb98f7d73cdefa134c6d7684f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df772c00bd457d818f0bf41c9bf05754d326eb98f7d73cdefa134c6d7684f4c", kill_on_drop: false }` [INFO] [stdout] 8df772c00bd457d818f0bf41c9bf05754d326eb98f7d73cdefa134c6d7684f4c