[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/3f2005adcbc2064bdc93db949cbc7916d96f339b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyflypeng%2Fnetlink-crate-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flyflypeng/netlink-crate-example 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 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-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtnetlink v0.7.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded once_cell v1.11.0 [INFO] [stderr] Downloaded netlink-packet-utils v0.4.1 [INFO] [stderr] Downloaded byteordered v0.5.0 [INFO] [stderr] Downloaded netlink-sys v0.6.0 [INFO] [stderr] Downloaded netlink-proto v0.6.0 [INFO] [stderr] Downloaded netlink-packet-core v0.2.4 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded netlink-packet-route v0.7.1 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded tokio v1.18.2 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09b95c03a4f2c681afae65fa96eb2224a2d49f5c5751a8a7165b8315d1831f17 [INFO] running `Command { std: "docker" "start" "-a" "09b95c03a4f2c681afae65fa96eb2224a2d49f5c5751a8a7165b8315d1831f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09b95c03a4f2c681afae65fa96eb2224a2d49f5c5751a8a7165b8315d1831f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b95c03a4f2c681afae65fa96eb2224a2d49f5c5751a8a7165b8315d1831f17", kill_on_drop: false }` [INFO] [stdout] 09b95c03a4f2c681afae65fa96eb2224a2d49f5c5751a8a7165b8315d1831f17 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d84b45d1f456a919ab7894d4fced8ae4f851f1058fb810e79bce88c52cbeab9c [INFO] running `Command { std: "docker" "start" "-a" "d84b45d1f456a919ab7894d4fced8ae4f851f1058fb810e79bce88c52cbeab9c", 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] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.11.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking byteordered v0.5.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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: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: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] 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[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] 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" "d84b45d1f456a919ab7894d4fced8ae4f851f1058fb810e79bce88c52cbeab9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84b45d1f456a919ab7894d4fced8ae4f851f1058fb810e79bce88c52cbeab9c", kill_on_drop: false }` [INFO] [stdout] d84b45d1f456a919ab7894d4fced8ae4f851f1058fb810e79bce88c52cbeab9c