[INFO] fetching crate pwnd 0.1.1... [INFO] checking pwnd-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pwnd 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pwnd 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f655bdce094bac6970b07e1f65026d2226b540363ed4e65b437709fbfeef405f [INFO] running `Command { std: "docker" "start" "-a" "f655bdce094bac6970b07e1f65026d2226b540363ed4e65b437709fbfeef405f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f655bdce094bac6970b07e1f65026d2226b540363ed4e65b437709fbfeef405f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f655bdce094bac6970b07e1f65026d2226b540363ed4e65b437709fbfeef405f", kill_on_drop: false }` [INFO] [stdout] f655bdce094bac6970b07e1f65026d2226b540363ed4e65b437709fbfeef405f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5db7a928a0c1d296c80b8c50d8c8d72abe4fd65ff2c667649557bdbcdcedaef [INFO] running `Command { std: "docker" "start" "-a" "e5db7a928a0c1d296c80b8c50d8c8d72abe4fd65ff2c667649557bdbcdcedaef", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking 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 an object-safe 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 an object-safe 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: 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 an object-safe 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 an object-safe 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 `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 `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] 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)]` on by default [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: 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: `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: `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: 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] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [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] [stderr] error: could not compile `pwnd` (lib) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [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 test) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e5db7a928a0c1d296c80b8c50d8c8d72abe4fd65ff2c667649557bdbcdcedaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5db7a928a0c1d296c80b8c50d8c8d72abe4fd65ff2c667649557bdbcdcedaef", kill_on_drop: false }` [INFO] [stdout] e5db7a928a0c1d296c80b8c50d8c8d72abe4fd65ff2c667649557bdbcdcedaef