[INFO] fetching crate pwnd 0.1.1... [INFO] testing pwnd-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pwnd 0.1.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pwnd 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91068bc77b2fdd540457bb06d3e7784177c2360ebb8a10e2d07abadb51771e76 [INFO] running `Command { std: "docker" "start" "-a" "91068bc77b2fdd540457bb06d3e7784177c2360ebb8a10e2d07abadb51771e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91068bc77b2fdd540457bb06d3e7784177c2360ebb8a10e2d07abadb51771e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91068bc77b2fdd540457bb06d3e7784177c2360ebb8a10e2d07abadb51771e76", kill_on_drop: false }` [INFO] [stdout] 91068bc77b2fdd540457bb06d3e7784177c2360ebb8a10e2d07abadb51771e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6d63f6f3c350f40e9490233cac033a4420f822f9c740433c689cf18188b46e3 [INFO] running `Command { std: "docker" "start" "-a" "e6d63f6f3c350f40e9490233cac033a4420f822f9c740433c689cf18188b46e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] error[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: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] error[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)]` (part of `#[warn(unused)]`) 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 40 | _TCP => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `TCP` [INFO] [stdout] | [INFO] [stdout] 40 | tubes::NetType::TCP => { [INFO] [stdout] | ++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 45 | _UDP => todo!(), [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `UDP` [INFO] [stdout] | [INFO] [stdout] 45 | tubes::NetType::UDP => todo!(), [INFO] [stdout] | ++++++++++++++++ [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 46 | _RAW => todo!() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `RAW` [INFO] [stdout] | [INFO] [stdout] 46 | tubes::NetType::RAW => todo!() [INFO] [stdout] | ++++++++++++++++ [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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] error: could not compile `pwnd` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e6d63f6f3c350f40e9490233cac033a4420f822f9c740433c689cf18188b46e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d63f6f3c350f40e9490233cac033a4420f822f9c740433c689cf18188b46e3", kill_on_drop: false }` [INFO] [stdout] e6d63f6f3c350f40e9490233cac033a4420f822f9c740433c689cf18188b46e3