[INFO] fetching crate pwnd 0.1.1... [INFO] testing pwnd-0.1.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate pwnd 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pwnd 0.1.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", 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] c84870aeabf5b2bd346da2bf2b47cb4831c03b68d57084b17b2545223fd2ba5b [INFO] running `Command { std: "docker" "start" "-a" "c84870aeabf5b2bd346da2bf2b47cb4831c03b68d57084b17b2545223fd2ba5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c84870aeabf5b2bd346da2bf2b47cb4831c03b68d57084b17b2545223fd2ba5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84870aeabf5b2bd346da2bf2b47cb4831c03b68d57084b17b2545223fd2ba5b", kill_on_drop: false }` [INFO] [stdout] c84870aeabf5b2bd346da2bf2b47cb4831c03b68d57084b17b2545223fd2ba5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f09c97d9cd17ba64087010d9753a5d0582ba84685a9a5374694906f63844ada6 [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" "f09c97d9cd17ba64087010d9753a5d0582ba84685a9a5374694906f63844ada6", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tokio v1.17.0 [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 15.04s [INFO] running `Command { std: "docker" "inspect" "f09c97d9cd17ba64087010d9753a5d0582ba84685a9a5374694906f63844ada6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09c97d9cd17ba64087010d9753a5d0582ba84685a9a5374694906f63844ada6", kill_on_drop: false }` [INFO] [stdout] f09c97d9cd17ba64087010d9753a5d0582ba84685a9a5374694906f63844ada6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--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] 10262dc16b1fc4318a712c5c3aeff55d84ca6107571a3d26a6e662739f4c2fcc [INFO] running `Command { std: "docker" "start" "-a" "10262dc16b1fc4318a712c5c3aeff55d84ca6107571a3d26a6e662739f4c2fcc", 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] = 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] [stderr] Compiling pwnd v0.1.1 (/opt/rustwide/workdir) [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 3.02s [INFO] running `Command { std: "docker" "inspect" "10262dc16b1fc4318a712c5c3aeff55d84ca6107571a3d26a6e662739f4c2fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10262dc16b1fc4318a712c5c3aeff55d84ca6107571a3d26a6e662739f4c2fcc", kill_on_drop: false }` [INFO] [stdout] 10262dc16b1fc4318a712c5c3aeff55d84ca6107571a3d26a6e662739f4c2fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] faedaccdbc49a36467ded7ea1624d0409f30e089e51a4c02592b6bd2bca9f665 [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" "faedaccdbc49a36467ded7ea1624d0409f30e089e51a4c02592b6bd2bca9f665", 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub fn create_process(file_name: &str, args: Option>, env: Option>) -> tokio::io::Result> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - pub async fn remote(hostname: &str, port: u16, kind: NetType) -> Result, Box> { [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 `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: `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 `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: `NetType::UDP` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `RAW` is named the same as one of the variants of the type `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: `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] | ^^^ unreachable pattern [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] | ^^^ unreachable pattern [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: field is never read: `file_name` [INFO] [stderr] --> src/tubes/process.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | file_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tubes/process.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stderr` [INFO] [stderr] --> src/tubes/process.rs:16:5 [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] --> src/tubes/process.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 15 warnings [INFO] [stderr] warning: `pwnd` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pwnd-9237381ebd954044) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_process_readline ... ok [INFO] [stderr] Doc-tests pwnd [INFO] [stdout] test tests::spawn_process_kill ... ok [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" "faedaccdbc49a36467ded7ea1624d0409f30e089e51a4c02592b6bd2bca9f665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faedaccdbc49a36467ded7ea1624d0409f30e089e51a4c02592b6bd2bca9f665", kill_on_drop: false }` [INFO] [stdout] faedaccdbc49a36467ded7ea1624d0409f30e089e51a4c02592b6bd2bca9f665