[INFO] cloning repository https://github.com/flyflypeng/netlink-crate-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flyflypeng/netlink-crate-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f2005adcbc2064bdc93db949cbc7916d96f339b [INFO] checking flyflypeng/netlink-crate-example against master#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] finished tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] tweaked toml for git repo https://github.com/flyflypeng/netlink-crate-example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/flyflypeng/netlink-crate-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking flyflypeng/netlink-crate-example against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] finished tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] tweaked toml for git repo https://github.com/flyflypeng/netlink-crate-example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/flyflypeng/netlink-crate-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking flyflypeng/netlink-crate-example against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] finished tweaking git repo https://github.com/flyflypeng/netlink-crate-example [INFO] tweaked toml for git repo https://github.com/flyflypeng/netlink-crate-example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/flyflypeng/netlink-crate-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded netlink-packet-utils v0.4.1 [INFO] [stderr] Downloaded netlink-proto v0.6.0 [INFO] [stderr] Downloaded netlink-sys v0.6.0 [INFO] [stderr] Downloaded byteordered v0.5.0 [INFO] [stderr] Downloaded netlink-packet-core v0.2.4 [INFO] [stderr] Downloaded rtnetlink v0.7.0 [INFO] [stderr] Downloaded netlink-packet-route v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f11273b9577153a0a3ad6bf5c9dbbf979738ca665bf66f6a7a49a113b5d56bb [INFO] running `Command { std: "docker" "start" "-a" "7f11273b9577153a0a3ad6bf5c9dbbf979738ca665bf66f6a7a49a113b5d56bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f11273b9577153a0a3ad6bf5c9dbbf979738ca665bf66f6a7a49a113b5d56bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f11273b9577153a0a3ad6bf5c9dbbf979738ca665bf66f6a7a49a113b5d56bb", kill_on_drop: false }` [INFO] [stdout] 7f11273b9577153a0a3ad6bf5c9dbbf979738ca665bf66f6a7a49a113b5d56bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd849db017f5ceeb4e7bdf20ff0b440c6b772ac4ea8eefae2324874a48642f78 [INFO] running `Command { std: "docker" "start" "-a" "fd849db017f5ceeb4e7bdf20ff0b440c6b772ac4ea8eefae2324874a48642f78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking once_cell v1.11.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking byteordered v0.5.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking netlink-packet-utils v0.4.1 [INFO] [stderr] Checking netlink-packet-core v0.2.4 [INFO] [stderr] Checking netlink-packet-route v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking netlink-sys v0.6.0 [INFO] [stderr] Checking netlink-proto v0.6.0 [INFO] [stderr] Checking rtnetlink v0.7.0 [INFO] [stderr] Checking netlink-crate-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `vlan_id` in this scope [INFO] [stdout] --> src/main.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vlan_id` in this scope [INFO] [stdout] --> src/main.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_name` found for struct `LinkGetRequest` in the current scope [INFO] [stdout] --> src/main.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let mut links = handle.link().get().match_name(veth_name.clone()).execute(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LinkGetRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_name` found for struct `LinkGetRequest` in the current scope [INFO] [stdout] --> src/main.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | let mut links = handle.link().get().match_name(veth_name.clone()).execute(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LinkGetRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ---- ^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rtnetlink-0.7.0/src/link/add.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn vlan(self, name: String, index: u32, vlan_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | .vlan("vlan.3000", link.header.index, vlan_id); [INFO] [stdout] | ---- ^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rtnetlink-0.7.0/src/link/add.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn vlan(self, name: String, index: u32, vlan_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Command::new("ip") [INFO] [stdout] 8 | | .args(["link", "del", "veth0"]) [INFO] [stdout] 9 | | .output() [INFO] [stdout] 10 | | .expect("failed to clean update vlan env") [INFO] [stdout] | |__________________________________________________^ expected `()`, found `Output` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 10 | .expect("failed to clean update vlan env"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 5 | fn clean_env_for_update_vlan() -> Output { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Command::new("ip") [INFO] [stdout] 8 | | .args(["link", "del", "veth0"]) [INFO] [stdout] 9 | | .output() [INFO] [stdout] 10 | | .expect("failed to clean update vlan env") [INFO] [stdout] | |__________________________________________________^ expected `()`, found `Output` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 10 | .expect("failed to clean update vlan env"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 5 | fn clean_env_for_update_vlan() -> Output { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::TryStreamExt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::TryStreamExt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netlink-crate-example` (bin "netlink-crate-example") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `netlink-crate-example` (bin "netlink-crate-example" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fd849db017f5ceeb4e7bdf20ff0b440c6b772ac4ea8eefae2324874a48642f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd849db017f5ceeb4e7bdf20ff0b440c6b772ac4ea8eefae2324874a48642f78", kill_on_drop: false }` [INFO] [stdout] fd849db017f5ceeb4e7bdf20ff0b440c6b772ac4ea8eefae2324874a48642f78