[INFO] fetching crate pwnd 0.1.1... [INFO] testing pwnd-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate pwnd 0.1.1 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pwnd 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4022656aa5a077a6cd681a774b26e30a98b5469db9cade61caa2a8375cedac21 [INFO] running `Command { std: "docker" "start" "-a" "4022656aa5a077a6cd681a774b26e30a98b5469db9cade61caa2a8375cedac21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4022656aa5a077a6cd681a774b26e30a98b5469db9cade61caa2a8375cedac21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4022656aa5a077a6cd681a774b26e30a98b5469db9cade61caa2a8375cedac21", kill_on_drop: false }` [INFO] [stdout] 4022656aa5a077a6cd681a774b26e30a98b5469db9cade61caa2a8375cedac21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d674e1209903f231dc877c96d1200332e5ff74e78e8ac48df11fd02aca13bd [INFO] running `Command { std: "docker" "start" "-a" "28d674e1209903f231dc877c96d1200332e5ff74e78e8ac48df11fd02aca13bd", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [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] [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `tubes::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: `tubes::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 `tubes::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: `tubes::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 `tubes::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: `tubes::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] | ^^^ no value can reach this [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] | ^^^ no value can reach this [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: fields `file_name` and `stderr` are never read [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Process { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.84s [INFO] running `Command { std: "docker" "inspect" "28d674e1209903f231dc877c96d1200332e5ff74e78e8ac48df11fd02aca13bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d674e1209903f231dc877c96d1200332e5ff74e78e8ac48df11fd02aca13bd", kill_on_drop: false }` [INFO] [stdout] 28d674e1209903f231dc877c96d1200332e5ff74e78e8ac48df11fd02aca13bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bef82dcb04965d6159c292a62bff62ace5c5be8f4ebc07318cf8537fac40648 [INFO] running `Command { std: "docker" "start" "-a" "6bef82dcb04965d6159c292a62bff62ace5c5be8f4ebc07318cf8537fac40648", kill_on_drop: false }` [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [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] [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `tubes::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: `tubes::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 `tubes::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: `tubes::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 `tubes::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: `tubes::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] | ^^^ no value can reach this [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] | ^^^ no value can reach this [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] [stderr] Compiling pwnd v0.1.1 (/opt/rustwide/workdir) [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: fields `file_name` and `stderr` are never read [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Process { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [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] 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [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] [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `tubes::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: `tubes::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 `tubes::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: `tubes::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 `tubes::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: `tubes::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] | ^^^ no value can reach this [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] | ^^^ no value can reach this [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: fields `file_name` and `stderr` are never read [INFO] [stdout] --> src/tubes/process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Process { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "6bef82dcb04965d6159c292a62bff62ace5c5be8f4ebc07318cf8537fac40648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bef82dcb04965d6159c292a62bff62ace5c5be8f4ebc07318cf8537fac40648", kill_on_drop: false }` [INFO] [stdout] 6bef82dcb04965d6159c292a62bff62ace5c5be8f4ebc07318cf8537fac40648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12a2095d8ce597096008b3b5b3d43fbcf9903be783da05cb392a921e9a72f883 [INFO] running `Command { std: "docker" "start" "-a" "12a2095d8ce597096008b3b5b3d43fbcf9903be783da05cb392a921e9a72f883", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tubes.rs:24:128 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 | pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tubes.rs:38:77 [INFO] [stderr] | [INFO] [stderr] 38 | pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 | pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `TCP` is named the same as one of the variants of the type `tubes::NetType` [INFO] [stderr] --> src/tubes.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | TCP => { [INFO] [stderr] | ^^^ help: to match on the variant, qualify the path: `tubes::NetType::TCP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `UDP` is named the same as one of the variants of the type `tubes::NetType` [INFO] [stderr] --> src/tubes.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | UDP => todo!(), [INFO] [stderr] | ^^^ help: to match on the variant, qualify the path: `tubes::NetType::UDP` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `RAW` is named the same as one of the variants of the type `tubes::NetType` [INFO] [stderr] --> src/tubes.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | RAW => todo!() [INFO] [stderr] | ^^^ help: to match on the variant, qualify the path: `tubes::NetType::RAW` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/tubes.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 40 | TCP => { [INFO] [stderr] | --- matches any value [INFO] [stderr] ... [INFO] [stderr] 45 | UDP => todo!(), [INFO] [stderr] | ^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/tubes.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 40 | TCP => { [INFO] [stderr] | --- matches any value [INFO] [stderr] ... [INFO] [stderr] 46 | RAW => todo!() [INFO] [stderr] | ^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unused variable: `TCP` [INFO] [stderr] --> src/tubes.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | TCP => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_TCP` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `UDP` [INFO] [stderr] --> src/tubes.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | UDP => todo!(), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_UDP` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `RAW` [INFO] [stderr] --> src/tubes.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | RAW => todo!() [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_RAW` [INFO] [stderr] [INFO] [stderr] warning: fields `file_name` and `stderr` are never read [INFO] [stderr] --> src/tubes/process.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Process { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 13 | file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | stderr: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `TCP` should have a snake case name [INFO] [stderr] --> src/tubes.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | TCP => { [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `tcp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `UDP` should have a snake case name [INFO] [stderr] --> src/tubes.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | UDP => todo!(), [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `udp` [INFO] [stderr] [INFO] [stderr] warning: variable `RAW` should have a snake case name [INFO] [stderr] --> src/tubes.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | RAW => todo!() [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `raw` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `pwnd` (lib) generated 14 warnings (run `cargo fix --lib -p pwnd` to apply 5 suggestions) [INFO] [stderr] warning: `pwnd` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pwnd-e9189c6b34c7f38f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_process_readline ... ok [INFO] [stdout] test tests::spawn_process_kill ... ok [INFO] [stderr] Doc-tests pwnd [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [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" "12a2095d8ce597096008b3b5b3d43fbcf9903be783da05cb392a921e9a72f883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a2095d8ce597096008b3b5b3d43fbcf9903be783da05cb392a921e9a72f883", kill_on_drop: false }` [INFO] [stdout] 12a2095d8ce597096008b3b5b3d43fbcf9903be783da05cb392a921e9a72f883